MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / WriteBinaryProto

Function WriteBinaryProto

tensorflow/core/platform/env.cc:498–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496} // namespace
497
498Status WriteBinaryProto(Env* env, const string& fname,
499 const ::tensorflow::protobuf::MessageLite& proto) {
500 string serialized;
501 proto.AppendToString(&serialized);
502 return WriteStringToFile(env, fname, serialized);
503}
504
505Status ReadBinaryProto(Env* env, const string& fname,
506 ::tensorflow::protobuf::MessageLite* proto) {

Callers 9

mainFunction · 0.85
DumpProtoToDirectoryFunction · 0.85
RealMainFunction · 0.85
DumpExecutionOptionsFunction · 0.85
WriteLiteralToTempFileFunction · 0.85
SetUpMethod · 0.85
TEST_FFunction · 0.85

Calls 1

WriteStringToFileFunction · 0.85

Tested by 4

WriteLiteralToTempFileFunction · 0.68
SetUpMethod · 0.68
TEST_FFunction · 0.68