Caffe2 - C++ API
A deep learning, cross platform ML framework
conv_op_gpu.cc
1 
17 #include "caffe2/operators/conv_op.h"
18 #include "caffe2/operators/conv_op_impl.h"
19 #include "caffe2/core/context_gpu.h"
20 
21 namespace caffe2 {
22 REGISTER_CUDA_OPERATOR(Conv, ConvOp<float, CUDAContext>);
23 REGISTER_CUDA_OPERATOR(ConvGradient, ConvGradientOp<float, CUDAContext>);
24 
25 REGISTER_CUDA_OPERATOR(Conv1D, ConvOp<float, CUDAContext>);
26 REGISTER_CUDA_OPERATOR(Conv1DGradient, ConvGradientOp<float, CUDAContext>);
27 
28 REGISTER_CUDA_OPERATOR(Conv2D, ConvOp<float, CUDAContext>);
29 REGISTER_CUDA_OPERATOR(Conv2DGradient, ConvGradientOp<float, CUDAContext>);
30 
31 REGISTER_CUDA_OPERATOR(Conv3D, ConvOp<float, CUDAContext>);
32 REGISTER_CUDA_OPERATOR(Conv3DGradient, ConvGradientOp<float, CUDAContext>);
33 } // namespace caffe2
Copyright (c) 2016-present, Facebook, Inc.