mean_op.cu 208 字节
Newer Older
L
liaogang 已提交
1 2
#define EIGEN_USE_GPU

L
liaogang 已提交
3 4
#include "paddle/operators/mean_op.h"

L
liaogang 已提交
5
REGISTER_OP_GPU_KERNEL(mean, ops::MeanKernel<ops::GPUPlace, float>);
Y
Yu Yang 已提交
6
REGISTER_OP_GPU_KERNEL(mean_grad, ops::MeanGradKernel<ops::GPUPlace, float>);