Home
last modified time | relevance | path

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

1234567891011

/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py65 self.all_fields_data = self.all_fields.SerializeToString()
70 data = self.empty_message.SerializeToString()
80 self.assertEqual(0, len(message.SerializeToString()))
99 item.message = message1.SerializeToString()
101 serialized = raw.SerializeToString()
108 reserialized = proto.SerializeToString()
119 message.ParseFromString(self.all_fields.SerializeToString())
124 self.assertEqual(b'', self.empty_message.SerializeToString())
130 other_message.SerializeToString())
132 other_message.SerializeToString())
[all …]
Dmessage_test.py120 self.assertEqual(golden_data, golden_message.SerializeToString())
122 self.assertEqual(golden_data, golden_copy.SerializeToString())
131 self.assertEqual(golden_data, all_set.SerializeToString())
133 self.assertEqual(golden_data, golden_copy.SerializeToString())
162 self.assertEqual(golden_data, golden_message.SerializeToString())
182 self.assertEqual(golden_data, golden_message.SerializeToString())
200 serialized = golden_message.SerializeToString()
215 self.assertEqual(golden_data, golden_message.SerializeToString())
224 self.assertEqual(golden_data, golden_message.SerializeToString())
234 serialized = golden_message.SerializeToString()
[all …]
Dreflection_test.py626 proto2.ParseFromString(proto.SerializeToString())
1082 serialized_prius = prius.SerializeToString()
1290 string1 = proto1.SerializeToString()
1364 string1 = proto1.SerializeToString()
1365 string2 = proto2.SerializeToString()
1467 string1 = proto1.SerializeToString()
1468 string2 = proto2.SerializeToString()
1569 proto.SerializeToString()
1574 self.assertRaises(message.EncodeError, proto.SerializeToString)
1651 serialized_pb=file_descriptor_proto.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/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/
Dprediction_ops_test.py210 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
220 learner_config=learner_config.SerializeToString(),
237 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
247 learner_config=learner_config.SerializeToString(),
267 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
277 learner_config=learner_config.SerializeToString(),
311 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
321 learner_config=learner_config.SerializeToString(),
357 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
367 learner_config=learner_config.SerializeToString(),
[all …]
Dtraining_ops_test.py91 return split.SerializeToString()
116 return split.SerializeToString()
141 return split.SerializeToString()
158 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
173 dropout_probability=0.5).SerializeToString()
309 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
349 learner_config=learner_config.SerializeToString(),
419 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
463 learner_config=learner_config.SerializeToString(),
571 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
[all …]
Dmodel_ops_test.py113 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
125 learner_config=learner_config.SerializeToString(),
158 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
186 learner_config=learner_config.SerializeToString(),
227 tree_ensemble_config=tree_ensemble_config.SerializeToString(),
242 tree_ensemble_config=tree_ensemble_config.SerializeToString())
252 learner_config=learner_config.SerializeToString(),
271 tree_ensemble_config=tree_ensemble_config.SerializeToString())
281 learner_config=learner_config.SerializeToString(),
304 learner_config=learner_config.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,
/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/
Dtpu_profiler_analysis_pb2_grpc.py46 NewProfileSessionRequest.SerializeToString,
55 EnumProfileSessionsAndToolsRequest.SerializeToString,
64 ProfileSessionDataRequest.SerializeToString,
113 NewProfileSessionResponse.SerializeToString,
123 EnumProfileSessionsAndToolsResponse.SerializeToString,
133 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/tensorflow/tensorflow/contrib/tensor_forest/python/ops/
Ddata_ops.py61 def SerializeToString(self): member in TensorForestDataSpec
63 self.dense_features_size, self.dense.SerializeToString(),
64 self.sparse.SerializeToString())
80 def SerializeToString(self): member in DataColumnCollection
83 ret += '{%s}' % c.SerializeToString()
94 def SerializeToString(self): member in DataColumn
163 logging.info(data_spec.SerializeToString())
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dprediction_ops_test.py107 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
177 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
288 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
418 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
501 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
623 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
766 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
841 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1013 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1160 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dparsing_ops_test.py187 "serialized": [original.SerializeToString()],
216 serialized = [m.SerializeToString() for m in original]
236 serialized = [m.SerializeToString() for m in original]
269 serialized = [m.SerializeToString() for m in original]
318 serialized = [m.SerializeToString() for m in original]
352 serialized = [m.SerializeToString() for m in original]
407 serialized = [m.SerializeToString() for m in original]
448 serialized = [m.SerializeToString() for m in original]
496 m.SerializeToString() + n.SerializeToString() for (m, n) in original
525 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/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py173 [original.SerializeToString()],
195 serialized = [m.SerializeToString() for m in original]
206 serialized = [m.SerializeToString() for m in original]
230 serialized = [m.SerializeToString() for m in original]
275 serialized = [m.SerializeToString() for m in original]
303 serialized = [m.SerializeToString() for m in original]
354 serialized = [m.SerializeToString() for m in original]
389 serialized = [m.SerializeToString() for m in original]
435 m.SerializeToString() + n.SerializeToString() for (m, n) in original
465 serialized = [m.SerializeToString() for m in original]
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
Dtfexample_decoder_test.py105 return image, example.SerializeToString()
266 serialized_example = example.SerializeToString()
297 serialized_example = example.SerializeToString()
320 serialized_example = example.SerializeToString()
343 serialized_example = example.SerializeToString()
367 serialized_example = example.SerializeToString()
391 serialized_example = example.SerializeToString()
424 serialized_example = example.SerializeToString()
469 serialized_example = example.SerializeToString()
506 serialized_example = example.SerializeToString()
[all …]
/external/protobuf/src/google/protobuf/
Dpreserve_unknown_enum_test.cc103 orig_message.SerializeToString(&serialized); in TEST()
110 message.SerializeToString(&serialized); in TEST()
139 orig_message.SerializeToString(&serialized); in TEST()
150 message.SerializeToString(&serialized); in TEST()
161 orig_message.SerializeToString(&serialized); in TEST()
175 message->SerializeToString(&serialized); in TEST()
185 orig_message.SerializeToString(&serialized); in TEST()
Dwire_format_unittest.cc88 source.SerializeToString(&data); in TEST()
105 source.SerializeToString(&data); in TEST()
122 source.SerializeToString(&data); in TEST()
171 source.SerializeToString(&data); in TEST()
188 source.SerializeToString(&data); in TEST()
209 source.SerializeToString(&data); in TEST()
403 source.SerializeToString(&data); in TEST()
434 ASSERT_TRUE(message_set.SerializeToString(&data)); in TEST()
523 message.SerializeToString(item->mutable_message()); in TEST()
532 message.SerializeToString(item->mutable_message()); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/python/
Dconvert.py419 data = toco_convert_protos(model_flags.SerializeToString(),
420 toco_flags.SerializeToString(),
421 input_data.SerializeToString())
450 data = toco_convert_protos(model_flags.SerializeToString(),
451 toco_flags.SerializeToString(),
452 input_data.SerializeToString())
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Ddecode_proto_op_test_base.py169 extra_msg = extra_fields.SerializeToString()
209 batch = [value.SerializeToString() for value in case.values]
221 batch = [value.SerializeToString() for value in case.values]
246 test_example_pb2.PackedTestValue()).SerializeToString()
279 batch = [value.SerializeToString() for value in case.values]
/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())
/external/tensorflow/tensorflow/contrib/rpc/python/kernel_tests/
Drpc_op_test_base.py54 test_example_pb2.TestCase(values=[1, 2, 3]).SerializeToString())
68 test_example_pb2.TestCase(values=[1, 2, 3]).SerializeToString())
187 values=[i, i + 1, i + 2]).SerializeToString() for i in range(20)
205 values=[i, i + 1, i + 2]).SerializeToString() for i in range(20)
290 request = test_example_pb2.TestCase(values=[0, 1, 2]).SerializeToString()
310 request = test_example_pb2.TestCase(values=[0, 1, 2]).SerializeToString()
330 values=[i, i + 1, i + 2]).SerializeToString() for i in range(20)
/external/autotest/client/common_lib/cros/
Dpolicy.py109 data_proto.policy_value = settings.SerializeToString()
110 return data_proto.SerializeToString()
140 return policy_proto.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,

1234567891011