17 #ifndef BATCHPERMUTATION_OP_H_ 18 #define BATCHPERMUTATION_OP_H_ 21 #include "caffe2/core/context.h" 22 #include "caffe2/core/logging.h" 23 #include "caffe2/core/operator.h" 24 #include "caffe2/utils/math.h" 28 template <
typename T,
class Context>
33 USE_OPERATOR_CONTEXT_FUNCTIONS;
35 bool RunOnDevice()
override;
38 template <
typename T,
class Context>
43 USE_OPERATOR_CONTEXT_FUNCTIONS;
45 bool RunOnDevice()
override {
47 CAFFE_NOT_IMPLEMENTED;
53 #endif // BATCHPERMUTATION_OP_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 ...