2 #include "caffe2/core/context.h" 3 #include "caffe2/core/operator.h" 7 template <
class Context>
10 USE_OPERATOR_CONTEXT_FUNCTIONS;
12 template <
class... Args>
16 this->
template GetSingleArgument<int64_t>(
"num_samples", 0)) {
17 CAFFE_ENFORCE_GE(num_samples_, 0);
20 bool RunOnDevice()
override;
23 const int64_t num_samples_;
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...