/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | optional_test.py | 46 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/ |
D | sparse_tensor_test.py | 41 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]:
|
D | sparse_tensor.py | 100 def from_value(cls, sparse_tensor_value): member in SparseTensor 281 value = SparseTensor.from_value(value)
|
/external/tensorflow/tensorflow/python/data/util/ |
D | structure.py | 187 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 …]
|
D | structure_test.py | 67 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/ |
D | optional_ops.py | 82 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/ |
D | test_token_kind.py | 24 TokenKind.from_value(-1) 35 t = TokenKind.from_value(3)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sparse_reshape_op_test.py | 55 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)
|
D | sparse_ops_test.py | 133 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/ |
D | scan_ops.py | 42 sparse_tensor.SparseTensor.from_value(t) 51 self._state_structure = structure.Structure.from_value(self._initial_state)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.data.experimental.-structure.pbtxt | 9 name: "from_value"
|
D | tensorflow.data.experimental.-optional-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-dataset-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-nested-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-tensor-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-sparse-tensor-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-optional.pbtxt | 13 name: "from_value"
|
D | tensorflow.-sparse-tensor.pbtxt | 48 name: "from_value"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.data.experimental.-structure.pbtxt | 9 name: "from_value"
|
D | tensorflow.data.experimental.-nested-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-dataset-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-optional-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-tensor-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-sparse-tensor-structure.pbtxt | 11 name: "from_value"
|
D | tensorflow.data.experimental.-optional.pbtxt | 13 name: "from_value"
|