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>
15 template <
class... Args>
16 explicit FreeOp(Args&&... args)
19 bool RunOnDevice()
override {
20 for (
Blob* output : OperatorBase::Outputs()) {
29 #endif // CAFFE2_OPERATORS_FREE_OP_H_ Blob is a general container that hosts a typed pointer.
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...