|
|
|
@ -642,12 +642,14 @@ REGISTER_OP_CPU_KERNEL_FUNCTOR(
|
|
|
|
|
reshape2_grad, float, ops::ReshapeGradKernel, double,
|
|
|
|
|
ops::ReshapeGradKernel, int, ops::ReshapeGradKernel, uint8_t,
|
|
|
|
|
ops::ReshapeGradKernel, int64_t, ops::ReshapeGradKernel, bool,
|
|
|
|
|
ops::ReshapeGradKernel, paddle::platform::complex64, ops::ReshapeGradKernel,
|
|
|
|
|
ops::ReshapeGradKernel, paddle::platform::bfloat16, ops::ReshapeGradKernel,
|
|
|
|
|
paddle::platform::complex64, ops::ReshapeGradKernel,
|
|
|
|
|
paddle::platform::complex128, ops::ReshapeGradKernel);
|
|
|
|
|
REGISTER_OP_CPU_KERNEL_FUNCTOR(
|
|
|
|
|
reshape2_grad_grad, float, ops::ReshapeDoubleGradKernel, double,
|
|
|
|
|
ops::ReshapeDoubleGradKernel, int, ops::ReshapeDoubleGradKernel, uint8_t,
|
|
|
|
|
ops::ReshapeDoubleGradKernel, int64_t, ops::ReshapeDoubleGradKernel, bool,
|
|
|
|
|
ops::ReshapeDoubleGradKernel, paddle::platform::bfloat16,
|
|
|
|
|
ops::ReshapeDoubleGradKernel, paddle::platform::complex64,
|
|
|
|
|
ops::ReshapeDoubleGradKernel, paddle::platform::complex128,
|
|
|
|
|
ops::ReshapeDoubleGradKernel);
|
|
|
|
|