Home
last modified time | relevance | path

Searched refs:from_value (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/python/data/kernel_tests/
Doptional_test.py46 opt = optional_ops.Optional.from_value(constant_op.constant(37.0))
51 opt = optional_ops.Optional.from_value({
70 opt = optional_ops.Optional.from_value((st_0, st_1))
100 opt1 = optional_ops.Optional.from_value((1.0, 2.0))
101 opt2 = optional_ops.Optional.from_value((3.0, 4.0))
125 opt1 = optional_ops.Optional.from_value([1, 2.0])
126 opt2 = optional_ops.Optional.from_value([3, 4.0])
127 opt3 = optional_ops.Optional.from_value((5.0, opt1._variant_tensor))
128 opt4 = optional_ops.Optional.from_value((6.0, opt2._variant_tensor))
146 opt = optional_ops.Optional.from_value((1.0, 2.0))
[all …]
/external/tensorflow/tensorflow/python/framework/
Dsparse_tensor_test.py41 sparse_tensor.SparseTensor.from_value(sp_value),
42 sparse_tensor.SparseTensor.from_value(
88 from_value = sparse_tensor.convert_to_tensor_or_sparse_tensor(
90 self.assertAllEqual(value, self.evaluate(from_value))
100 st = sparse_tensor.SparseTensor.from_value(sparse_tensor_value)
101 from_value = sparse_tensor.convert_to_tensor_or_sparse_tensor(
104 for convertee in [from_value, from_tensor]:
Dsparse_tensor.py100 def from_value(cls, sparse_tensor_value): member in SparseTensor
281 value = SparseTensor.from_value(value)
/external/tensorflow/tensorflow/python/data/util/
Dstructure.py187 def from_value(value): member in Structure
205 return SparseTensorStructure.from_value(value)
207 return NestedStructure.from_value(value)
217 return TensorStructure.from_value(tensor)
350 if not structure.is_compatible_with(Structure.from_value(sub_value)):
366 if not structure.is_compatible_with(Structure.from_value(sub_value)):
399 def from_value(value): member in NestedStructure
401 Structure.from_value(sub_value) for sub_value in nest.flatten(value)
448 if not self.is_compatible_with(Structure.from_value(value)):
461 if not self.is_compatible_with(Structure.from_value(flat_value[0])):
[all …]
Dstructure_test.py67 s = structure.Structure.from_value(value)
126 s = structure.Structure.from_value(original_value)
130 structure.Structure.from_value(compatible_value)))
134 structure.Structure.from_value(incompatible_value)))
151 s = structure.Structure.from_value(value)
173 s_tensor = structure.Structure.from_value(value_tensor)
178 s_sparse_tensor = structure.Structure.from_value(value_sparse_tensor)
185 s_nest = structure.Structure.from_value(value_nest)
251 s_0 = structure.Structure.from_value(value_0)
263 s_1 = structure.Structure.from_value(value_1)
[all …]
/external/tensorflow/tensorflow/python/data/ops/
Doptional_ops.py82 def from_value(value): member in Optional
93 value_structure = structure.Structure.from_value(value)
188 def from_value(value): member in OptionalStructure
211 OptionalStructure.from_value)
/external/clang/bindings/python/tests/cindex/
Dtest_token_kind.py24 TokenKind.from_value(-1)
35 t = TokenKind.from_value(3)
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_reshape_op_test.py55 sp_input = sparse_tensor.SparseTensor.from_value(
62 sp_input = sparse_tensor.SparseTensor.from_value(
70 sp_input = sparse_tensor.SparseTensor.from_value(
77 sp_input = sparse_tensor.SparseTensor.from_value(
237 sp_input = sparse_tensor.SparseTensor.from_value(input_val)
Dsparse_ops_test.py133 return (sparse_tensor.SparseTensor.from_value(indices),
134 sparse_tensor.SparseTensor.from_value(values))
153 sparse_tensor.SparseTensor.from_value(indices_v)):
155 sparse_tensor.SparseTensor.from_value(values_v)):
247 return ([sparse_tensor.SparseTensor.from_value(indices0),
248 sparse_tensor.SparseTensor.from_value(indices1)],
249 sparse_tensor.SparseTensor.from_value(values))
298 return sparse_tensor.SparseTensor.from_value(self._SparseTensorValue_5x6())
484 return sparse_tensor.SparseTensor.from_value(self._SparseTensorValue_5x6())
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dscan_ops.py42 sparse_tensor.SparseTensor.from_value(t)
51 self._state_structure = structure.Structure.from_value(self._initial_state)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.data.experimental.-structure.pbtxt9 name: "from_value"
Dtensorflow.data.experimental.-optional-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-dataset-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-nested-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-tensor-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-sparse-tensor-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-optional.pbtxt13 name: "from_value"
Dtensorflow.-sparse-tensor.pbtxt48 name: "from_value"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.data.experimental.-structure.pbtxt9 name: "from_value"
Dtensorflow.data.experimental.-nested-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-dataset-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-optional-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-tensor-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-sparse-tensor-structure.pbtxt11 name: "from_value"
Dtensorflow.data.experimental.-optional.pbtxt13 name: "from_value"

123