Home
last modified time | relevance | path

Searched refs:serialized_proto (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/tpu/
Dproto_helper.h41 SerializedProtoType* serialized_proto) { in SerializeProto() argument
45 serialized_proto->size = size; in SerializeProto()
46 serialized_proto->bytes = bytes; in SerializeProto()
54 SerializedProto serialized_proto; in SerializeProto() local
55 SerializeProto(proto, &serialized_proto); in SerializeProto()
56 return serialized_proto; in SerializeProto()
62 inline ProtoType DeserializeProto(const SerializedProtoType& serialized_proto) { in DeserializeProto() argument
64 if (serialized_proto.bytes != nullptr) { in DeserializeProto()
65 CHECK_GT(serialized_proto.size, 0); in DeserializeProto()
66 CHECK(proto.ParseFromArray(serialized_proto.bytes, serialized_proto.size)) in DeserializeProto()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dprediction_ops_test.py39 'ensemble', serialized_proto='')
73 'ensemble', serialized_proto='')
147 '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())
[all …]
Dtraining_ops_test.py584 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
771 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
980 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1192 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1441 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1593 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1750 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
1921 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
2097 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
2265 'ensemble', serialized_proto=tree_ensemble_config.SerializeToString())
[all …]
Dresource_ops_test.py155 serialized_proto=ensemble_proto.SerializeToString())
221 serialized_proto=ensemble_proto.SerializeToString())
/external/tensorflow/tensorflow/core/kernels/
Dremote_fused_graph_execute_op.cc31 string serialized_proto; in RemoteFusedGraphExecuteOp() local
35 &serialized_proto)); in RemoteFusedGraphExecuteOp()
38 execute_info_.ParseFromString(serialized_proto); in RemoteFusedGraphExecuteOp()
Dremote_fused_graph_rewriter_transform_test.cc189 string serialized_proto; in CheckGraph() local
194 &serialized_proto)); in CheckGraph()
195 info.ParseFromString(serialized_proto); in CheckGraph()
Dexample_parsing_ops.cc237 const tstring& serialized_proto = serialized->scalar<tstring>()(); in ParseExampleScalar() local
238 return FastParseSingleExample(config, serialized_proto, result); in ParseExampleScalar()
364 const tstring& serialized_proto = serialized->scalar<tstring>()(); in Compute() local
367 FastParseSingleExample(config, serialized_proto, &result)); in Compute()
/external/grpc-grpc/test/cpp/util/
Dproto_file_parser.cc232 const grpc::string& method, const grpc::string& serialized_proto, in GetTextFormatFromMethod() argument
239 return GetTextFormatFromMessageType(message_type_name, serialized_proto); in GetTextFormatFromMethod()
270 const grpc::string& serialized_proto) { in GetTextFormatFromMessageType() argument
280 if (!msg->ParseFromString(serialized_proto)) { in GetTextFormatFromMessageType()
Dproto_file_parser.h61 const grpc::string& serialized_proto,
70 const grpc::string& serialized_proto);
/external/tensorflow/tensorflow/python/ops/
Dboosted_trees_ops.py213 def __init__(self, name, stamp_token=0, is_local=False, serialized_proto=''): argument
215 self._serialized_proto = serialized_proto
293 def deserialize(self, stamp_token, serialized_proto): argument
304 self.resource_handle, stamp_token, serialized_proto)
/external/grpc-grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
Dreflection.py39 serialized_proto = proto.SerializeToString()
42 file_descriptor_proto=(serialized_proto,)),)
/external/libchrome/dbus/
Dmessage.cc637 std::string serialized_proto; in AppendProtoAsArrayOfBytes() local
638 if (!protobuf.SerializeToString(&serialized_proto)) { in AppendProtoAsArrayOfBytes()
642 AppendArrayOfBytes(reinterpret_cast<const uint8_t*>(serialized_proto.data()), in AppendProtoAsArrayOfBytes()
643 serialized_proto.size()); in AppendProtoAsArrayOfBytes()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transferer.h84 void SetSerializedGraphTransferInfo(const string& serialized_proto);
Dgraph_transferer.cc288 const string& serialized_proto) { in SetSerializedGraphTransferInfo() argument
289 graph_transfer_info_->ParseFromString(serialized_proto); in SetSerializedGraphTransferInfo()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_test.py356 serialized_proto = b.build().as_serialized_hlo_module_proto()
359 c = xla_client.XlaComputation(serialized_proto)