/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | optional_test.py | 67 ("Optional", lambda: optional_ops.Optional.from_value(37.0), 125 opt = optional_ops.Optional.from_value(constant_op.constant(37.0)) 131 opt = optional_ops.Optional.from_value({ 151 opt = optional_ops.Optional.from_value((st_0, st_1)) 183 opt1 = optional_ops.Optional.from_value((1.0, 2.0)) 184 opt2 = optional_ops.Optional.from_value((3.0, 4.0)) 209 opt1 = optional_ops.Optional.from_value([1, 2.0]) 210 opt2 = optional_ops.Optional.from_value([3, 4.0]) 211 opt3 = optional_ops.Optional.from_value((5.0, opt1._variant_tensor)) 212 opt4 = optional_ops.Optional.from_value((6.0, opt2._variant_tensor)) [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | sparse_tensor.py | 108 def from_value(cls, sparse_tensor_value): member in SparseTensor 305 value = SparseTensor.from_value(value) 327 value = SparseTensor.from_value(value) 386 def from_value(cls, value): member in SparseTensorSpec 393 return cls.from_value(SparseTensor.from_value(value)) 402 SparseTensor, SparseTensorSpec.from_value) 404 SparseTensorValue, SparseTensorSpec.from_value) 427 value = SparseTensor.from_value(value)
|
D | sparse_tensor_test.py | 44 sparse_tensor.SparseTensor.from_value(sp_value), 45 sparse_tensor.SparseTensor.from_value( 91 from_value = sparse_tensor.convert_to_tensor_or_sparse_tensor( 93 self.assertAllEqual(value, self.evaluate(from_value)) 103 st = sparse_tensor.SparseTensor.from_value(sparse_tensor_value) 104 from_value = sparse_tensor.convert_to_tensor_or_sparse_tensor( 107 for convertee in [from_value, from_tensor]:
|
D | type_spec_test.py | 76 def from_value(cls, value): member in TwoTensorsSpec 82 TwoTensors, TwoTensorsSpec.from_value) 241 spec = TwoTensorsSpec.from_value(value) 284 self.assertEqual(spec, TwoTensorsSpec.from_value(value))
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | optional_ops.py | 88 def from_value(value): member in Optional 159 return OptionalSpec.from_value(self) 191 def from_value(value): member in OptionalSpec
|
/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 | 56 sp_input = sparse_tensor.SparseTensor.from_value( 63 sp_input = sparse_tensor.SparseTensor.from_value( 71 sp_input = sparse_tensor.SparseTensor.from_value( 78 sp_input = sparse_tensor.SparseTensor.from_value( 85 sp_input = sparse_tensor.SparseTensor.from_value( 250 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/tools/api/golden/v2/ |
D | tensorflow.-optional-spec.pbtxt | 15 name: "from_value"
|
D | tensorflow.data.-dataset-spec.pbtxt | 16 name: "from_value"
|
D | tensorflow.-tensor-array-spec.pbtxt | 15 name: "from_value"
|
D | tensorflow.data.experimental.-optional.pbtxt | 14 name: "from_value"
|
D | tensorflow.-ragged-tensor-spec.pbtxt | 16 name: "from_value"
|
D | tensorflow.-sparse-tensor-spec.pbtxt | 24 name: "from_value"
|
D | tensorflow.sparse.-sparse-tensor.pbtxt | 48 name: "from_value"
|
D | tensorflow.-sparse-tensor.pbtxt | 48 name: "from_value"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.-optional-spec.pbtxt | 15 name: "from_value"
|
D | tensorflow.data.experimental.-optional-structure.pbtxt | 15 name: "from_value"
|
D | tensorflow.data.experimental.-optional.pbtxt | 14 name: "from_value"
|
D | tensorflow.-tensor-array-spec.pbtxt | 15 name: "from_value"
|
D | tensorflow.data.-dataset-spec.pbtxt | 16 name: "from_value"
|
D | tensorflow.data.experimental.-dataset-structure.pbtxt | 16 name: "from_value"
|
D | tensorflow.-ragged-tensor-spec.pbtxt | 16 name: "from_value"
|
D | tensorflow.-sparse-tensor-spec.pbtxt | 24 name: "from_value"
|
D | tensorflow.sparse.-sparse-tensor.pbtxt | 48 name: "from_value"
|