From 50d24899cfba9c0e7dcc90665d9132a5f8c5d09e Mon Sep 17 00:00:00 2001 From: mapingshuo Date: Fri, 16 Oct 2020 10:21:13 +0800 Subject: [PATCH] fix kunlun kernel of reshape op (#27989) --- paddle/fluid/operators/reshape_op.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/reshape_op.cc b/paddle/fluid/operators/reshape_op.cc index ce06a1ec356..aa8e3903706 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 -- GitLab