Home
last modified time | relevance | path

Searched refs:from_fields (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/ops/structured/
Dstructured_tensor_spec_test.py150 struct = StructuredTensor.from_fields(fields, shape)
181 StructuredTensor.from_fields({'a': 1, 'b': [5, 6]}),
182 StructuredTensor.from_fields({'a': 2, 'b': [7, 8]})],
184 'batched': lambda: StructuredTensor.from_fields(shape=[2], fields={
190 StructuredTensor.from_fields(shape=[3], fields={
193 StructuredTensor.from_fields(shape=[3], fields={
197 'batched': lambda: StructuredTensor.from_fields(shape=[2, 3], fields={
204 StructuredTensor.from_fields(shape=[], fields={
206 'b': StructuredTensor.from_fields({'x': [5]})}),
207 StructuredTensor.from_fields(shape=[], fields={
[all …]
Dstructured_tensor_test.py311 struct = StructuredTensor.from_fields(
461 struct = StructuredTensor.from_fields(
481 struct1 = StructuredTensor.from_fields(shape=[], fields={"x": [1, 2]})
482 struct2 = StructuredTensor.from_fields(shape=[2], fields={"x": [1, 2]})
483 struct3 = StructuredTensor.from_fields(
488 struct4 = StructuredTensor.from_fields(
542 struct = structured_tensor.StructuredTensor.from_fields({"r": rt}, [2])
550 st = StructuredTensor.from_fields({})
564 "expected": lambda: StructuredTensor.from_fields(shape=[], fields={})
569 "expected": lambda: StructuredTensor.from_fields(shape=[], fields={
[all …]
Dstructured_tensor.py141 def from_fields(cls, member in StructuredTensor
435 return StructuredTensor.from_fields(
715 return StructuredTensor.from_fields(fields, self._shape)
742 return StructuredTensor.from_fields(new_fields, result_shape)
874 return StructuredTensor.from_fields(fields=fields, shape=(), validate=False)
898 return StructuredTensor.from_fields(
1073 return StructuredTensor.from_fields(components, self._shape, validate=False)
1125 return StructuredTensor.from_fields(fields, self._shape)
Dstructured_array_ops.py132 return StructuredTensor.from_fields(
/external/rust/crates/uuid/src/builder/
Dmod.rs70 pub fn from_fields( in from_fields() method
393 pub fn from_fields( in from_fields() method
399 Uuid::from_fields(d1, d2, d3, d4).map(|uuid| { in from_fields()
/external/rust/crates/uuid/src/
Dv1.rs216 Uuid::from_fields(time_low, time_mid, time_high_and_version, &d4) in new_v1()
Dlib.rs878 let u = Uuid::from_fields(d1, d2, d3, &d4).unwrap(); in test_from_fields()
918 let u = Uuid::from_fields(d1_in, d2_in, d3_in, d4_in).unwrap(); in test_fields_roundtrip()
950 let u = Uuid::from_fields(d1_in, d2_in, d3_in, d4_in).unwrap(); in test_fields_le_are_actually_le()