1 #ifndef CAFFE2_CORE_NET_SIMPLE_REFCOUNT_H_ 2 #define CAFFE2_CORE_NET_SIMPLE_REFCOUNT_H_ 6 #include "c10/util/Registry.h" 7 #include "caffe2/core/common.h" 8 #include "caffe2/core/logging.h" 9 #include "caffe2/core/net.h" 10 #include "caffe2/core/net_simple.h" 11 #include "caffe2/core/tensor.h" 12 #include "caffe2/core/workspace.h" 13 #include "caffe2/proto/caffe2_pb.h" 41 const std::shared_ptr<const NetDef>& net_def,
47 using SimpleNet::operators_;
52 vector<vector<Blob*>> delete_list_;
59 #endif // CAFFE2_CORE_NET_SIMPLE_REFCOUNT_H_
Workspace is a class that holds all the related objects created during runtime: (1) all blobs...
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...