|
|
@ -185,17 +185,21 @@ REGISTER_OP(conv2d_transpose, ops::ConvTransposeOp, ops::Conv2DTransposeOpMaker,
|
|
|
|
|
|
|
|
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
conv2d_transpose,
|
|
|
|
conv2d_transpose,
|
|
|
|
ops::GemmConvTransposeKernel<paddle::platform::CPUPlace, float>);
|
|
|
|
ops::GemmConvTransposeKernel<paddle::platform::CPUPlace, float>,
|
|
|
|
|
|
|
|
ops::GemmConvTransposeKernel<paddle::platform::CPUPlace, double>);
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
conv2d_transpose_grad,
|
|
|
|
conv2d_transpose_grad,
|
|
|
|
ops::GemmConvTransposeGradKernel<paddle::platform::CPUPlace, float>);
|
|
|
|
ops::GemmConvTransposeGradKernel<paddle::platform::CPUPlace, float>,
|
|
|
|
|
|
|
|
ops::GemmConvTransposeGradKernel<paddle::platform::CPUPlace, double>);
|
|
|
|
|
|
|
|
|
|
|
|
REGISTER_OP(conv3d_transpose, ops::ConvTransposeOp, ops::Conv3DTransposeOpMaker,
|
|
|
|
REGISTER_OP(conv3d_transpose, ops::ConvTransposeOp, ops::Conv3DTransposeOpMaker,
|
|
|
|
conv3d_transpose_grad, ops::ConvTransposeOpGrad);
|
|
|
|
conv3d_transpose_grad, ops::ConvTransposeOpGrad);
|
|
|
|
|
|
|
|
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
conv3d_transpose,
|
|
|
|
conv3d_transpose,
|
|
|
|
ops::GemmConvTransposeKernel<paddle::platform::CPUPlace, float>);
|
|
|
|
ops::GemmConvTransposeKernel<paddle::platform::CPUPlace, float>,
|
|
|
|
|
|
|
|
ops::GemmConvTransposeKernel<paddle::platform::CPUPlace, double>);
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
REGISTER_OP_CPU_KERNEL(
|
|
|
|
conv3d_transpose_grad,
|
|
|
|
conv3d_transpose_grad,
|
|
|
|
ops::GemmConvTransposeGradKernel<paddle::platform::CPUPlace, float>);
|
|
|
|
ops::GemmConvTransposeGradKernel<paddle::platform::CPUPlace, float>,
|
|
|
|
|
|
|
|
ops::GemmConvTransposeGradKernel<paddle::platform::CPUPlace, double>);
|
|
|
|