3 #include "caffe2/core/db.h" 4 #include "caffe2/core/workspace.h" 5 #include "caffe2/predictor/predictor_config.h" 6 #include "caffe2/proto/metanet.pb.h" 9 namespace predictor_utils {
11 CAFFE2_API
const NetDef& getNet(
const MetaNetDef& def,
const std::string& name);
12 const ::google::protobuf::RepeatedPtrField<::std::string>& getBlobs(
13 const MetaNetDef& def,
14 const std::string& name);
16 CAFFE2_API std::unique_ptr<MetaNetDef> extractMetaNetDef(
18 const std::string& key);
22 CAFFE2_API std::unique_ptr<MetaNetDef> runGlobalInitialization(
23 std::unique_ptr<db::DBReader> db,
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...