Home
last modified time | relevance | path

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

1234

/external/rust/crates/rusqlite/src/types/
Dto_sql.rs44 macro_rules! from_value( macro
51 from_value!(String);
52 from_value!(Null);
53 from_value!(bool);
54 from_value!(i8);
55 from_value!(i16);
56 from_value!(i32);
57 from_value!(i64);
58 from_value!(isize);
59 from_value!(u8);
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Doptional_test.py67 ("Optional", lambda: optional_ops.Optional.from_value(37.0),
126 opt = optional_ops.Optional.from_value(constant_op.constant(37.0))
132 opt = optional_ops.Optional.from_value({
152 opt = optional_ops.Optional.from_value((st_0, st_1))
184 opt1 = optional_ops.Optional.from_value((1.0, 2.0))
185 opt2 = optional_ops.Optional.from_value((3.0, 4.0))
207 opt1 = optional_ops.Optional.from_value([1, 2.0])
208 opt2 = optional_ops.Optional.from_value([3, 4.0])
209 opt3 = optional_ops.Optional.from_value((5.0, opt1._variant_tensor))
210 opt4 = optional_ops.Optional.from_value((6.0, opt2._variant_tensor))
[all …]
/external/tensorflow/tensorflow/python/framework/
Dsparse_tensor.py107 def from_value(cls, sparse_tensor_value): member in SparseTensor
338 value = SparseTensor.from_value(value)
360 value = SparseTensor.from_value(value)
419 def from_value(cls, value): member in SparseTensorSpec
426 return cls.from_value(SparseTensor.from_value(value))
435 SparseTensor, SparseTensorSpec.from_value)
437 SparseTensorValue, SparseTensorSpec.from_value)
460 value = SparseTensor.from_value(value)
Dtype_spec_test.py84 def from_value(cls, value): member in TwoTensorsSpec
90 TwoTensors, TwoTensorsSpec.from_value)
132 def from_value(cls, value): member in TwoCompositesSpec
139 TwoComposites, TwoCompositesSpec.from_value)
176 def from_value(cls, value): member in NestOfTensorsSpec
185 NestOfTensors, NestOfTensorsSpec.from_value)
360 named_tuple_spec_a = NestOfTensorsSpec.from_value(NestOfTensors(
362 named_tuple_spec_b = NestOfTensorsSpec.from_value(NestOfTensors(
364 named_tuple_spec_c = NestOfTensorsSpec.from_value(NestOfTensors(
366 normal_tuple_spec = NestOfTensorsSpec.from_value(NestOfTensors((2, "bbb")))
[all …]
Dsparse_tensor_test.py48 sparse_tensor.SparseTensor.from_value(sp_value),
49 sparse_tensor.SparseTensor.from_value(
117 from_value = sparse_tensor.convert_to_tensor_or_sparse_tensor(
119 self.assertAllEqual(value, self.evaluate(from_value))
127 st = sparse_tensor.SparseTensor.from_value(sparse_tensor_value)
128 from_value = self.evaluate(
132 for convertee in [from_value, from_tensor]:
/external/clang/bindings/python/tests/cindex/
Dtest_token_kind.py24 TokenKind.from_value(-1)
35 t = TokenKind.from_value(3)
/external/tensorflow/tensorflow/python/data/ops/
Doptional_ops.py140 def from_value(value): member in Optional
202 return OptionalSpec.from_value(self)
253 def from_value(value): member in OptionalSpec
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_token_kind.py30 TokenKind.from_value(-1)
41 t = TokenKind.from_value(3)
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_reshape_op_test.py57 sp_input = sparse_tensor.SparseTensor.from_value(
64 sp_input = sparse_tensor.SparseTensor.from_value(
72 sp_input = sparse_tensor.SparseTensor.from_value(
79 sp_input = sparse_tensor.SparseTensor.from_value(
86 sp_input = sparse_tensor.SparseTensor.from_value(
251 sp_input = sparse_tensor.SparseTensor.from_value(input_val)
/external/tensorflow/tensorflow/python/data/util/
Dstructure.py114 normalized_components.append(sparse_tensor.SparseTensor.from_value(t))
520 def from_value(value): member in NoneTensorSpec
549 NoneTensorSpec.from_value)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-optional-spec.pbtxt15 name: "from_value"
Dtensorflow.data.-iterator-spec.pbtxt15 name: "from_value"
Dtensorflow.experimental.-optional.pbtxt18 name: "from_value"
Dtensorflow.-tensor-array-spec.pbtxt15 name: "from_value"
Dtensorflow.data.experimental.-optional.pbtxt18 name: "from_value"
Dtensorflow.data.-dataset-spec.pbtxt20 name: "from_value"
Dtensorflow.-sparse-tensor-spec.pbtxt24 name: "from_value"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-optional-spec.pbtxt15 name: "from_value"
Dtensorflow.experimental.-optional.pbtxt18 name: "from_value"
Dtensorflow.data.experimental.-optional-structure.pbtxt15 name: "from_value"
Dtensorflow.data.experimental.-optional.pbtxt18 name: "from_value"
Dtensorflow.-tensor-array-spec.pbtxt15 name: "from_value"
Dtensorflow.data.-dataset-spec.pbtxt20 name: "from_value"
Dtensorflow.data.experimental.-dataset-structure.pbtxt20 name: "from_value"
Dtensorflow.-sparse-tensor-spec.pbtxt24 name: "from_value"

1234