Caffe2 - C++ API
A deep learning, cross platform ML framework
exp_op.h
1 #ifndef CAFFE2_OPERATORS_EXP_OP_
2 #define CAFFE2_OPERATORS_EXP_OP_
3 
4 #include "caffe2/operators/elementwise_ops.h"
5 #include "caffe2/utils/math.h"
6 
7 namespace caffe2 {
8 
9 template <class Context>
10 struct ExpFunctor {
11  template <typename T>
12  bool operator()(const int N, const T* X, T* Y, Context* context) const {
13  math::Exp(N, X, Y, context);
14  return true;
15  }
16 };
17 
18 } // namespace caffe2
19 
20 #endif // CAFFE2_OPERATORS_EXP_OP_
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13