1 #ifndef CAFFE2_OPERATORS_ERF_OP_H_ 2 #define CAFFE2_OPERATORS_ERF_OP_H_ 6 #include "caffe2/operators/elementwise_ops.h" 7 #include "caffe2/utils/math.h" 9 constexpr
float PI = 3.14159265358979323846;
13 template <
class Context>
16 bool operator()(
const int N,
const T* X,
T* Y, Context* context)
const {
17 math::Erf(N, X, Y, context);
22 template <
class Context>
26 const std::vector<int>& X_dims,
27 const std::vector<int>& dY_dims,
31 Context* context)
const;
36 #endif // CAFFE2_OPERATORS_ERF_OP_H_
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...