3 #include "caffe2/core/context.h" 4 #include "caffe2/core/logging.h" 5 #include "caffe2/core/operator.h" 6 #include "caffe2/utils/math.h" 10 template <
typename T,
class Context>
13 template <
class... Args>
14 explicit PReluOp(Args&&... args)
16 order_(StringToStorageOrder(
17 this->
template GetSingleArgument<string>(
"order",
"NCHW"))) {}
19 USE_OPERATOR_CONTEXT_FUNCTIONS;
21 bool RunOnDevice()
override;
27 template <
typename T,
class Context>
30 template <
class... Args>
33 order_(StringToStorageOrder(
34 this->
template GetSingleArgument<string>(
"order",
"NCHW"))) {}
35 USE_OPERATOR_CONTEXT_FUNCTIONS;
37 bool RunOnDevice()
override;
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...