/external/rust/crates/rusqlite/src/types/ |
D | to_sql.rs | 48 macro_rules! from_value( macro 56 from_value!(String); 57 from_value!(Null); 58 from_value!(bool); 59 from_value!(i8); 60 from_value!(i16); 61 from_value!(i32); 62 from_value!(i64); 63 from_value!(isize); 64 from_value!(u8); [all …]
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | optional_test.py | 63 ("Optional", lambda: optional_ops.Optional.from_value(37.0), 122 opt = optional_ops.Optional.from_value(constant_op.constant(37.0)) 128 opt = optional_ops.Optional.from_value({ 148 opt = optional_ops.Optional.from_value((st_0, st_1)) 180 opt1 = optional_ops.Optional.from_value((1.0, 2.0)) 181 opt2 = optional_ops.Optional.from_value((3.0, 4.0)) 203 opt1 = optional_ops.Optional.from_value([1, 2.0]) 204 opt2 = optional_ops.Optional.from_value([3, 4.0]) 205 opt3 = optional_ops.Optional.from_value((5.0, opt1._variant_tensor)) 206 opt4 = optional_ops.Optional.from_value((6.0, opt2._variant_tensor)) [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | sparse_tensor.py | 103 def from_value(cls, sparse_tensor_value): member in SparseTensor 335 value = SparseTensor.from_value(value) 357 value = SparseTensor.from_value(value) 417 def from_value(cls, value): member in SparseTensorSpec 424 return cls.from_value(SparseTensor.from_value(value)) 434 SparseTensor, SparseTensorSpec.from_value) 436 SparseTensorValue, SparseTensorSpec.from_value) 459 value = SparseTensor.from_value(value)
|
D | sparse_tensor_test.py | 46 sparse_tensor.SparseTensor.from_value(sp_value), 47 sparse_tensor.SparseTensor.from_value( 115 from_value = sparse_tensor.convert_to_tensor_or_sparse_tensor( 117 self.assertAllEqual(value, self.evaluate(from_value)) 125 st = sparse_tensor.SparseTensor.from_value(sparse_tensor_value) 126 from_value = self.evaluate( 130 for convertee in [from_value, from_tensor]:
|
D | type_spec_test.py | 83 def from_value(cls, value): member in TwoTensorsSpec 107 TwoTensors, TwoTensorsSpec.from_value) 149 def from_value(cls, value): member in TwoCompositesSpec 165 TwoComposites, TwoCompositesSpec.from_value) 202 def from_value(cls, value): member in NestOfTensorsSpec 211 NestOfTensors, NestOfTensorsSpec.from_value) 543 named_tuple_spec_a = NestOfTensorsSpec.from_value(NestOfTensors( 545 named_tuple_spec_b = NestOfTensorsSpec.from_value(NestOfTensors( 547 named_tuple_spec_c = NestOfTensorsSpec.from_value(NestOfTensors( 549 normal_tuple_spec = NestOfTensorsSpec.from_value(NestOfTensors((2, "bbb"))) [all …]
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | optional_ops.py | 133 def from_value(value): member in Optional 196 return OptionalSpec.from_value(self) 248 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/sparse_ops/ |
D | sparse_reshape_op_test.py | 53 sp_input = sparse_tensor.SparseTensor.from_value( 60 sp_input = sparse_tensor.SparseTensor.from_value( 68 sp_input = sparse_tensor.SparseTensor.from_value( 75 sp_input = sparse_tensor.SparseTensor.from_value( 82 sp_input = sparse_tensor.SparseTensor.from_value( 269 sp_input = sparse_tensor.SparseTensor.from_value(input_val)
|
D | sparse_ops_test.py | 129 return (sparse_tensor.SparseTensor.from_value(indices), 130 sparse_tensor.SparseTensor.from_value(values)) 149 sparse_tensor.SparseTensor.from_value(indices_v)): 151 sparse_tensor.SparseTensor.from_value(values_v)): 243 return ([sparse_tensor.SparseTensor.from_value(indices0), 244 sparse_tensor.SparseTensor.from_value(indices1)], 245 sparse_tensor.SparseTensor.from_value(values)) 294 return sparse_tensor.SparseTensor.from_value(self._SparseTensorValue_5x6()) 480 return sparse_tensor.SparseTensor.from_value(self._SparseTensorValue_5x6())
|
/external/rust/crates/serde_json/tests/regression/ |
D | issue520.rs | 15 let e = serde_json::from_value::<E>(v).unwrap(); in test()
|
D | issue795.rs | 58 assert!(serde_json::from_value::<Enum>(j).is_err()); in test()
|
/external/tensorflow/tensorflow/python/data/util/ |
D | structure.py | 112 normalized_components.append(sparse_tensor.SparseTensor.from_value(t)) 533 def from_value(value): member in NoneTensorSpec 562 NoneTensorSpec.from_value)
|
/external/crosvm/devices/src/pci/ |
D | pci_root.rs | 102 serde_json::from_value(data).context("failed to deserialize PciRootConfiguration")?; in restore() 366 serde_json::from_value(data).context("failed to deserialize PciRoot")?; in restore() 515 let deser: PciConfigIoSerializable = serde_json::from_value(data) in restore() 613 let deser: PciConfigMmioSerializable = serde_json::from_value(data) in restore() 721 let deser: PciVirtualConfigMmioSerializable = serde_json::from_value(data) in restore()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.experimental.-optional.pbtxt | 18 name: "from_value"
|
D | tensorflow.data.experimental.-optional.pbtxt | 18 name: "from_value"
|
D | tensorflow.-sparse-tensor.pbtxt | 48 name: "from_value"
|
D | tensorflow.sparse.-sparse-tensor.pbtxt | 48 name: "from_value"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.experimental.-optional.pbtxt | 18 name: "from_value"
|
D | tensorflow.data.experimental.-optional.pbtxt | 18 name: "from_value"
|
D | tensorflow.-sparse-tensor.pbtxt | 48 name: "from_value"
|
D | tensorflow.sparse.-sparse-tensor.pbtxt | 48 name: "from_value"
|
D | tensorflow.-tensor-array-spec.pbtxt | 29 name: "from_value"
|
D | tensorflow.data.-iterator-spec.pbtxt | 29 name: "from_value"
|
/external/tensorflow/tensorflow/python/ops/ |
D | variable_spec_test.py | 109 spec = resource_variable_ops.VariableSpec.from_value(var) 156 spec = resource_variable_ops.VariableSpec.from_value(var)
|
/external/rust/crates/log/src/kv/ |
D | error.rs | 27 pub(super) fn from_value(err: value_bag::Error) -> Self { in from_value() method
|