/external/tensorflow/tensorflow/stream_executor/tpu/ |
D | proto_helper.h | 41 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/ |
D | prediction_ops_test.py | 39 '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 …]
|
D | training_ops_test.py | 584 '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 …]
|
D | resource_ops_test.py | 155 serialized_proto=ensemble_proto.SerializeToString()) 221 serialized_proto=ensemble_proto.SerializeToString())
|
/external/tensorflow/tensorflow/core/kernels/ |
D | remote_fused_graph_execute_op.cc | 31 string serialized_proto; in RemoteFusedGraphExecuteOp() local 35 &serialized_proto)); in RemoteFusedGraphExecuteOp() 38 execute_info_.ParseFromString(serialized_proto); in RemoteFusedGraphExecuteOp()
|
D | remote_fused_graph_rewriter_transform_test.cc | 189 string serialized_proto; in CheckGraph() local 194 &serialized_proto)); in CheckGraph() 195 info.ParseFromString(serialized_proto); in CheckGraph()
|
D | example_parsing_ops.cc | 237 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/ |
D | proto_file_parser.cc | 232 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()
|
D | proto_file_parser.h | 61 const grpc::string& serialized_proto, 70 const grpc::string& serialized_proto);
|
/external/tensorflow/tensorflow/python/ops/ |
D | boosted_trees_ops.py | 213 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/ |
D | reflection.py | 39 serialized_proto = proto.SerializeToString() 42 file_descriptor_proto=(serialized_proto,)),)
|
/external/libchrome/dbus/ |
D | message.cc | 637 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/ |
D | graph_transferer.h | 84 void SetSerializedGraphTransferInfo(const string& serialized_proto);
|
D | graph_transferer.cc | 288 const string& serialized_proto) { in SetSerializedGraphTransferInfo() argument 289 graph_transfer_info_->ParseFromString(serialized_proto); in SetSerializedGraphTransferInfo()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_client_test.py | 356 serialized_proto = b.build().as_serialized_hlo_module_proto() 359 c = xla_client.XlaComputation(serialized_proto)
|