MCPcopy Create free account
hub / github.com/BVLC/caffe / ReadProtoFromTextFile

Function ReadProtoFromTextFile

include/caffe/util/io.hpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52bool ReadProtoFromTextFile(const char* filename, Message* proto);
53
54inline bool ReadProtoFromTextFile(const string& filename, Message* proto) {
55 return ReadProtoFromTextFile(filename.c_str(), proto);
56}
57
58inline void ReadProtoFromTextFileOrDie(const char* filename, Message* proto) {
59 CHECK(ReadProtoFromTextFile(filename, proto));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected