3 #ifndef CAFFE2_OPERATORS_FLEXIBLE_TOP_K_H_ 4 #define CAFFE2_OPERATORS_FLEXIBLE_TOP_K_H_ 6 #include "caffe2/core/logging.h" 7 #include "caffe2/core/operator.h" 8 #include "caffe2/utils/math.h" 12 template <
typename T,
class Context>
15 USE_OPERATOR_CONTEXT_FUNCTIONS;
17 template <
class... Args>
21 bool RunOnDevice()
override;
24 template <
typename T,
class Context>
27 USE_OPERATOR_CONTEXT_FUNCTIONS;
29 template <
class... Args>
33 bool RunOnDevice()
override;
38 #endif // CAFFE2_OPERATORS_FLEXIBLE_TOP_K_H_
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...