3 #include "file_store_handler.h" 5 #include <caffe2/core/operator.h> 9 template <
class Context>
13 const OperatorDef& operator_def,
17 OperatorBase::template GetSingleArgument<std::string>(
"path",
"")),
18 prefix_(OperatorBase::template GetSingleArgument<std::string>(
21 CAFFE_ENFORCE_NE(basePath_,
"",
"path is a required argument");
24 bool RunOnDevice()
override {
27 *OperatorBase::Output<std::unique_ptr<StoreHandler>>(HANDLER) =
33 std::string basePath_;
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 ...