| #include "caffe2/core/db.h" |
| #include "caffe2/core/workspace.h" |
| #include "caffe2/predictor/predictor_config.h" |
| #include "caffe2/proto/metanet.pb.h" |
| namespace predictor_utils { |
| CAFFE2_API const NetDef& getNet(const MetaNetDef& def, const std::string& name); |
| const ::google::protobuf::RepeatedPtrField<::std::string>& getBlobs( |
| const std::string& name); |
| CAFFE2_API std::unique_ptr<MetaNetDef> extractMetaNetDef( |
| // Extract the MetaNetDef from `db`, and run the global init net on the |
| CAFFE2_API std::unique_ptr<MetaNetDef> runGlobalInitialization( |
| std::unique_ptr<db::DBReader> db, |
| } // namespace predictor_utils |