Caffe2 - C++ API
A deep learning, cross platform ML framework
elementwise_add_op_gpu.cc
1 #include "caffe2/operators/elementwise_add_op.h"
2 
3 #include "caffe2/core/context_gpu.h"
4 
5 namespace caffe2 {
6 
7 REGISTER_CUDA_OPERATOR(
8  Add,
9  BinaryElementwiseOp<NumericTypes, CUDAContext, AddFunctor<CUDAContext>>);
10 REGISTER_CUDA_OPERATOR(
11  AddGradient,
12  BinaryElementwiseGradientOp<
13  NumericTypes,
14  CUDAContext,
15  AddFunctor<CUDAContext>>);
16 
17 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13
Definition: OpClasses.h:659