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

Function Net_Save

rtpose_wrapper/python/caffe/_caffe.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void Net_Save(const Net<Dtype>& net, string filename) {
137 NetParameter net_param;
138 net.ToProto(&net_param, false);
139 WriteProtoToBinaryFile(net_param, filename.c_str());
140}
141
142void Net_SaveHDF5(const Net<Dtype>& net, string filename) {
143 net.ToHDF5(filename);

Callers

nothing calls this directly

Calls 2

WriteProtoToBinaryFileFunction · 0.50
ToProtoMethod · 0.45

Tested by

no test coverage detected