1 #ifndef CAFFE2_OPERATORS_FREE_OP_H_ 2 #define CAFFE2_OPERATORS_FREE_OP_H_ 4 #include "caffe2/core/context.h" 5 #include "caffe2/core/operator.h" 12 template <
class Context>
17 bool RunOnDevice()
override {
18 for (
Blob* output : OperatorBase::Outputs()) {
27 #endif // CAFFE2_OPERATORS_FREE_OP_H_ Blob is a general container that hosts a typed pointer.
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 ...