1 #ifndef CAFFE2_OPERATORS_SOFTMAX_OP_H_ 2 #define CAFFE2_OPERATORS_SOFTMAX_OP_H_ 4 #include "caffe2/core/context.h" 5 #include "caffe2/core/logging.h" 6 #include "caffe2/core/operator.h" 7 #include "caffe2/utils/math.h" 11 template <
typename T,
class Context>
14 template <
class... Args>
17 axis_(this->
template GetSingleArgument<int>(
"axis", 1)) {}
18 USE_OPERATOR_CONTEXT_FUNCTIONS;
19 bool RunOnDevice()
override;
28 template <
typename T,
class Context>
31 template <
class... Args>
34 axis_(this->
template GetSingleArgument<int>(
"axis", 1)) {}
35 USE_OPERATOR_CONTEXT_FUNCTIONS;
36 bool RunOnDevice()
override;
46 #endif // CAFFE2_OPERATORS_SOFTMAX_OP_H_
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...