Caffe2 - C++ API
A deep learning, cross platform ML framework
locally_connected_op_gpu.cc
1 #include "caffe2/core/context_gpu.h"
2 #include "caffe2/operators/locally_connected_op.h"
3 #include "caffe2/operators/locally_connected_op_impl.h"
4 
5 namespace caffe2 {
6 
7 REGISTER_CUDA_OPERATOR(LC, LocallyConnectedOp<float, CUDAContext>);
8 REGISTER_CUDA_OPERATOR(
9  LCGradient,
10  LocallyConnectedGradientOp<float, CUDAContext>);
11 
12 REGISTER_CUDA_OPERATOR(LC1D, LocallyConnectedOp<float, CUDAContext>);
13 REGISTER_CUDA_OPERATOR(
14  LC1DGradient,
15  LocallyConnectedGradientOp<float, CUDAContext>);
16 
17 REGISTER_CUDA_OPERATOR(LC2D, LocallyConnectedOp<float, CUDAContext>);
18 REGISTER_CUDA_OPERATOR(
19  LC2DGradient,
20  LocallyConnectedGradientOp<float, CUDAContext>);
21 
22 REGISTER_CUDA_OPERATOR(LC3D, LocallyConnectedOp<float, CUDAContext>);
23 REGISTER_CUDA_OPERATOR(
24  LC3DGradient,
25  LocallyConnectedGradientOp<float, CUDAContext>);
26 
27 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13