Home
last modified time | relevance | path

Searched refs:SerializeToString (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py63 self.all_fields_data = self.all_fields.SerializeToString()
68 data = self.empty_message.SerializeToString()
78 self.assertEqual(self.all_fields_data, message.SerializeToString())
97 item.message = message1.SerializeToString()
99 serialized = raw.SerializeToString()
106 reserialized = proto.SerializeToString()
117 message.ParseFromString(self.all_fields.SerializeToString())
122 self.assertEqual(b'', self.empty_message.SerializeToString())
128 other_message.SerializeToString())
130 other_message.SerializeToString())
[all …]
Dmessage_test.py139 self.assertEqual(golden_data, golden_message.SerializeToString())
141 self.assertEqual(golden_data, golden_copy.SerializeToString())
151 self.assertEqual(golden_data, all_set.SerializeToString())
153 self.assertEqual(golden_data, golden_copy.SerializeToString())
183 golden_message.SerializeToString(deterministic=None))
185 golden_message.SerializeToString(deterministic=False))
187 golden_message.SerializeToString(deterministic=True))
201 golden_message.SerializeToString(deterministic=BadArg())
230 self.assertEqual(golden_data, golden_message.SerializeToString())
250 self.assertEqual(golden_data, golden_message.SerializeToString())
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dmodel_analyzer.py54 return graph.as_graph_def(add_shapes=True).SerializeToString()
184 _graph_string(self._graph), op_log.SerializeToString())
204 run_meta.SerializeToString(),
205 op_log.SerializeToString())
223 print_mdl.Profile('code'.encode('utf-8'), opts.SerializeToString()))
240 print_mdl.Profile('op'.encode('utf-8'), opts.SerializeToString()))
257 print_mdl.Profile('scope'.encode('utf-8'), opts.SerializeToString()))
274 print_mdl.Profile('graph'.encode('utf-8'), opts.SerializeToString()))
290 print_mdl.Profile('advise'.encode('utf-8'), opts.SerializeToString()))
302 return print_mdl.SerializeToString()
[all …]
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dmessage_test.py83 self.assertEqual(golden_data, golden_message.SerializeToString())
85 self.assertEqual(golden_data, golden_copy.SerializeToString())
94 self.assertEqual(golden_data, golden_message.SerializeToString())
96 self.assertEqual(golden_data, golden_copy.SerializeToString())
105 self.assertEqual(golden_data, all_set.SerializeToString())
107 self.assertEqual(golden_data, golden_copy.SerializeToString())
116 self.assertEqual(golden_data, all_set.SerializeToString())
118 self.assertEqual(golden_data, golden_copy.SerializeToString())
137 self.assertRaises(message.EncodeError, unpickled_message.SerializeToString)
150 self.assertEqual(golden_data, golden_message.SerializeToString())
[all …]
/external/grpc-grpc/examples/python/multiplex/
Droute_guide_pb2_grpc.py19 request_serializer=route__guide__pb2.Point.SerializeToString,
24 request_serializer=route__guide__pb2.Rectangle.SerializeToString,
29 request_serializer=route__guide__pb2.Point.SerializeToString,
34 request_serializer=route__guide__pb2.RouteNote.SerializeToString,
93 response_serializer=route__guide__pb2.Feature.SerializeToString,
98 response_serializer=route__guide__pb2.Feature.SerializeToString,
103 response_serializer=route__guide__pb2.RouteSummary.SerializeToString,
108 response_serializer=route__guide__pb2.RouteNote.SerializeToString,
Dhelloworld_pb2_grpc.py19 request_serializer=helloworld__pb2.HelloRequest.SerializeToString,
41 response_serializer=helloworld__pb2.HelloReply.SerializeToString,
/external/grpc-grpc/examples/python/route_guide/
Droute_guide_pb2_grpc.py19 request_serializer=route__guide__pb2.Point.SerializeToString,
24 request_serializer=route__guide__pb2.Rectangle.SerializeToString,
29 request_serializer=route__guide__pb2.Point.SerializeToString,
34 request_serializer=route__guide__pb2.RouteNote.SerializeToString,
93 response_serializer=route__guide__pb2.Feature.SerializeToString,
98 response_serializer=route__guide__pb2.Feature.SerializeToString,
103 response_serializer=route__guide__pb2.RouteSummary.SerializeToString,
108 response_serializer=route__guide__pb2.RouteNote.SerializeToString,
/external/tensorflow/tensorflow/python/tpu/profiler/
Dprofiler_analysis_pb2_grpc.py45 .NewProfileSessionRequest.SerializeToString,
52 .EnumProfileSessionsAndToolsRequest.SerializeToString,
59 .ProfileSessionDataRequest.SerializeToString,
104 .NewProfileSessionResponse.SerializeToString,
112 .EnumProfileSessionsAndToolsResponse.SerializeToString,
120 .ProfileSessionDataResponse.SerializeToString,
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_service_pb2_grpc.py43 request_serializer=tensorflow_dot_core_dot_util_dot_event__pb2.Event.SerializeToString,
48 …t_serializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.CallTraceback.SerializeToString,
53 …t_serializer=tensorflow_dot_core_dot_protobuf_dot_debug__pb2.DebuggedSourceFiles.SerializeToString,
96 …onse_serializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.EventReply.SerializeToString,
101 …onse_serializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.EventReply.SerializeToString,
106 …onse_serializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.EventReply.SerializeToString,
/external/pigweed/pw_rpc/py/pw_rpc/
Dpackets.py46 payload=request.SerializeToString()).SerializeToString()
57 payload=response.SerializeToString()).SerializeToString()
65 status=status.value).SerializeToString()
74 method_id=method).SerializeToString()
/external/tensorflow/tensorflow/python/kernel_tests/proto/
Ddecode_proto_op_test_base.py174 extra_msg = extra_fields.SerializeToString()
214 batch = [value.SerializeToString() for value in case.values]
226 batch = [value.SerializeToString() for value in case.values]
251 test_example_pb2.PackedTestValue()).SerializeToString()
284 batch = [value.SerializeToString() for value in case.values]
317 test_example_pb2.TestValue(double_value=[1.0]).SerializeToString(),
320 string_value='abc')]).SerializeToString(),
323 string_value='def')]).SerializeToString()
338 string_value='abc').SerializeToString(),
340 string_value='def').SerializeToString(),
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dprediction_ops_test.py147 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
216 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
288 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
359 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
433 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
521 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
635 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
786 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
918 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1095 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
[all …]
/external/avb/proto/
Dapi_pb2_grpc.py19 request_serializer=api__pb2.AddVBMetaRequest.SerializeToString,
24 request_serializer=api__pb2.AnnotateVBMetaWithBuildResponse.SerializeToString,
56 response_serializer=api__pb2.AddVBMetaResponse.SerializeToString,
61 response_serializer=api__pb2.AnnotateVBMetaWithBuildResponse.SerializeToString,
/external/pigweed/pw_rpc/py/tests/
Dpackets_test.py28 payload=RpcPacket(status=321).SerializeToString())
45 payload=RpcPacket(status=321).SerializeToString())
82 packets.decode(_TEST_REQUEST.SerializeToString()))
93 payload=RpcPacket(status=321).SerializeToString())))
/external/tensorflow/tensorflow/python/kernel_tests/
Dparsing_ops_test.py180 "serialized": [original.SerializeToString()],
209 serialized = [m.SerializeToString() for m in original]
229 serialized = [m.SerializeToString() for m in original]
259 serialized = [m.SerializeToString() for m in original]
309 serialized = [m.SerializeToString() for m in original]
345 serialized = [m.SerializeToString() for m in original]
406 serialized = [m.SerializeToString() for m in original]
447 serialized = [m.SerializeToString() for m in original]
498 m.SerializeToString() + n.SerializeToString() for (m, n) in original
530 serialized = [m.SerializeToString() for m in original]
[all …]
Dparse_single_example_op_test.py186 "serialized": original.SerializeToString(),
206 serialized = original.SerializeToString()
223 serialized = original.SerializeToString()
274 "serialized": ops.convert_to_tensor(proto.SerializeToString()),
318 "serialized": ops.convert_to_tensor(proto.SerializeToString()),
353 "serialized": ops.convert_to_tensor(proto.SerializeToString()),
406 "serialized": ops.convert_to_tensor(proto.SerializeToString()),
438 "serialized": ops.convert_to_tensor(proto.SerializeToString()),
484 m.SerializeToString() + n.SerializeToString()),
509 "serialized": ops.convert_to_tensor(proto.SerializeToString()),
[all …]
/external/tensorflow/tensorflow/lite/python/
Dconvert.py592 model_flags.SerializeToString(),
593 toco_flags.SerializeToString(),
594 input_data.SerializeToString(),
626 debug_info_str = debug_info.SerializeToString() if debug_info else None
628 model_flags.SerializeToString(),
629 toco_flags.SerializeToString(),
630 input_data.SerializeToString(),
652 model_flags.SerializeToString(),
653 toco_flags.SerializeToString(),
/external/protobuf/src/google/protobuf/
Dpreserve_unknown_enum_test.cc94 orig_message.SerializeToString(&serialized); in TEST()
101 message.SerializeToString(&serialized); in TEST()
133 orig_message.SerializeToString(&serialized); in TEST()
144 message.SerializeToString(&serialized); in TEST()
155 orig_message.SerializeToString(&serialized); in TEST()
172 message->SerializeToString(&serialized); in TEST()
182 orig_message.SerializeToString(&serialized); in TEST()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py172 [original.SerializeToString()],
194 serialized = [m.SerializeToString() for m in original]
206 serialized = [m.SerializeToString() for m in original]
231 serialized = [m.SerializeToString() for m in original]
277 serialized = [m.SerializeToString() for m in original]
306 serialized = [m.SerializeToString() for m in original]
358 serialized = [m.SerializeToString() for m in original]
394 serialized = [m.SerializeToString() for m in original]
441 m.SerializeToString() + n.SerializeToString() for (m, n) in original
472 serialized = [m.SerializeToString() for m in original]
[all …]
/external/autotest/client/common_lib/cros/
Dpolicy.py87 data_proto.policy_value = settings.SerializeToString()
88 return data_proto.SerializeToString()
118 return policy_proto.SerializeToString()
/external/autotest/server/hosts/drone_api_client/
Dcommon_pb2_grpc.py29 request_serializer=common__pb2.ExecDutCommandRequest.SerializeToString,
81 response_serializer=common__pb2.ExecDutCommandResponse.SerializeToString,
/external/grpc-grpc/examples/python/helloworld/
Dhelloworld_pb2_grpc.py19 request_serializer=helloworld__pb2.HelloRequest.SerializeToString,
41 response_serializer=helloworld__pb2.HelloReply.SerializeToString,
/external/grpc-grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2_grpc.py19 request_serializer=helloworld__pb2.HelloRequest.SerializeToString,
41 response_serializer=helloworld__pb2.HelloReply.SerializeToString,
/external/grpc-grpc/examples/python/interceptors/headers/
Dhelloworld_pb2_grpc.py19 request_serializer=helloworld__pb2.HelloRequest.SerializeToString,
41 response_serializer=helloworld__pb2.HelloReply.SerializeToString,
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos_test.py64 fp_model.write(model_flags.SerializeToString())
65 fp_toco.write(toco_flags.SerializeToString())
66 fp_input.write(graph_def.SerializeToString())

12345678910>>...14