Home
last modified time | relevance | path

Searched refs:nested_structure_coder (Results 1 – 21 of 21) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/python/saved_model/
H A Dnested_structure_coder_test.py34 from tensorflow.python.saved_model import nested_structure_coder
41 self.assertTrue(nested_structure_coder.can_encode(structure))
42 encoded = nested_structure_coder.encode_structure(structure)
48 decoded = nested_structure_coder.decode_proto(encoded)
53 self.assertTrue(nested_structure_coder.can_encode(structure))
54 encoded = nested_structure_coder.encode_structure(structure)
63 decoded = nested_structure_coder.decode_proto(encoded)
68 self.assertTrue(nested_structure_coder.can_encode(structure))
69 encoded = nested_structure_coder.encode_structure(structure)
76 decoded = nested_structure_coder.decode_proto(encoded)
[all …]
H A Dfunction_serialization.py20 from tensorflow.python.saved_model import nested_structure_coder
38 nested_structure_coder.encode_structure(
43 nested_structure_coder.encode_structure(function_spec.input_signature))
73 nested_structure_coder.encode_structure(
76 nested_structure_coder.encode_structure(structured_outputs))
H A Dfunction_deserialization.py35 from tensorflow.python.saved_model import nested_structure_coder
125 typeless_fullargspec = nested_structure_coder.decode_proto(
146 input_signature = nested_structure_coder.decode_proto(
405 structured_input_signature = nested_structure_coder.decode_proto(
407 structured_outputs = nested_structure_coder.decode_proto(
H A DBUILD213 ":nested_structure_coder",
566 ":nested_structure_coder",
581 ":nested_structure_coder",
602 name = "nested_structure_coder",
603 srcs = ["nested_structure_coder.py"],
633 ":nested_structure_coder",
H A Dutils_impl.py29 from tensorflow.python.saved_model import nested_structure_coder
96 spec_proto = nested_structure_coder.encode_structure(spec)
182 spec = nested_structure_coder.decode_proto(spec_proto)
H A Dutils_test.py31 from tensorflow.python.saved_model import nested_structure_coder
106 spec = nested_structure_coder.decode_proto(spec_proto)
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/experimental/rpc/
H A Drpc_ops.py31 from tensorflow.python.saved_model import nested_structure_coder
40 output_specs_proto = nested_structure_coder.encode_structure(output_specs)
46 arg_specs_proto = nested_structure_coder.encode_structure(arg_specs)
358 output_specs = nested_structure_coder.decode_proto(m.output_specs)
359 input_specs = nested_structure_coder.decode_proto(m.input_specs)
H A DBUILD28 "//tensorflow/python/saved_model:nested_structure_coder",
/aosp_15_r20/external/tensorflow/tensorflow/python/data/ops/
H A Dload_op.py27 nested_structure_coder = lazy_loader.LazyLoader( variable
58 struct_pb = nested_structure_coder.struct_pb2.StructuredValue()
60 spec = nested_structure_coder.decode_proto(struct_pb)
H A Dsave_op.py31 nested_structure_coder = lazy_loader.LazyLoader( variable
112 encoded = nested_structure_coder.encode_structure(dataset.element_spec)
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/
H A Dcomposite_tensor_ops.py22 from tensorflow.python.saved_model import nested_structure_coder
52 nested_structure_coder.encode_structure(type_spec).type_spec_value)
86 nested_structure_coder.encode_structure(type_spec).type_spec_value)
/aosp_15_r20/external/tensorflow/tensorflow/python/data/experimental/ops/
H A Ddata_service_ops.py48 nested_structure_coder = lazy_loader.LazyLoader( variable
839 encoded_spec = nested_structure_coder.encode_structure(
1038 struct_pb = nested_structure_coder.struct_pb2.StructuredValue()
1040 return nested_structure_coder.decode_proto(struct_pb)
H A Dio.py27 nested_structure_coder = lazy_loader.LazyLoader( variable
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dtype_spec.py47 nested_structure_coder = LazyLoader( variable
212 return nested_structure_coder.decode_proto(
220 return nested_structure_coder.encode_structure(self).type_spec_value
H A Dextension_type.py33 from tensorflow.python.saved_model import nested_structure_coder
319 except nested_structure_coder.NotEncodableError as e:
/aosp_15_r20/external/tensorflow/tensorflow/tools/api/golden/v2/
H A Dtensorflow.__internal__.saved_model.-structure-coder.pbtxt3 is_instance: "<class \'tensorflow.python.saved_model.nested_structure_coder.StructureCoder\'>"
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A Dwrap_function.py36 from tensorflow.python.saved_model import nested_structure_coder
110 spec = nested_structure_coder.decode_proto(spec_proto)
H A DBUILD1080 "//tensorflow/python/saved_model:nested_structure_coder",
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/saving/saved_model/
H A Dload.py47 from tensorflow.python.saved_model import nested_structure_coder
782 structured_input_signature = nested_structure_coder.decode_proto(
/aosp_15_r20/external/tensorflow/tensorflow/core/protobuf/
H A Dstruct.proto152 // before this value can be deserialized by nested_structure_coder.
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/linalg/
H A Dlinear_operator_test_util.py44 from tensorflow.python.saved_model import nested_structure_coder
848nested_structure_coder.encode_structure(operator._type_spec) # pylint: disable=protected-access