diff --git a/paddle/fluid/operators/reshape_op.cc b/paddle/fluid/operators/reshape_op.cc index ce06a1ec3563ddb559ba9c100ea60d9aeaeda830..aa8e39037062e525ab31e0ed80b0aebe5d3c7148 100644 --- a/paddle/fluid/operators/reshape_op.cc +++ b/paddle/fluid/operators/reshape_op.cc @@ -675,6 +675,6 @@ REGISTER_OP_XPU_KERNEL_FUNCTOR(reshape2_grad, float, ops::ReshapeGradKernel, double, ops::ReshapeGradKernel, int, ops::ReshapeGradKernel, int64_t, ops::ReshapeGradKernel, plat::float16, - ops::ReshapeGradKernel, - bool ops::ReshapeGradKernel); + ops::ReshapeGradKernel, bool, + ops::ReshapeGradKernel); #endif