MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / WriteProtoToBinaryFile

Function WriteProtoToBinaryFile

rtpose_wrapper/src/caffe/util/io.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void WriteProtoToBinaryFile(const Message& proto, const char* filename) {
68 fstream output(filename, ios::out | ios::trunc | ios::binary);
69 CHECK(proto.SerializeToOstream(&output));
70}
71
72#ifdef USE_OPENCV
73cv::Mat ReadImageToCVMat(const string& filename,

Callers 8

mainFunction · 0.50
mainFunction · 0.50
Net_SaveFunction · 0.50
SnapshotToBinaryProtoMethod · 0.50
TYPED_TESTFunction · 0.50
net_saveFunction · 0.50
write_meanFunction · 0.50

Calls

no outgoing calls

Tested by 1

TYPED_TESTFunction · 0.40