1 #ifndef CAFFE2_OPERATORS_ELU_OP_H_ 2 #define CAFFE2_OPERATORS_ELU_OP_H_ 6 #include "caffe2/operators/elementwise_ops.h" 10 template <
class Context>
13 : alpha(op.GetSingleArgument<
float>(
"alpha", 1.0f)) {}
16 bool operator()(
const int N,
const T* X,
T* Y, Context* context)
const;
21 template <
class Context>
24 : alpha(op.GetSingleArgument<
float>(
"alpha", 1.0f)) {}
28 const std::vector<int>& Y_dims,
29 const std::vector<int>& dY_dims,
33 Context* context)
const;
40 #endif // CAFFE2_OPERATORS_ELU_OP_H_
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...