Skip to content

Commit

Permalink
revert double triple grad for pow op
Browse files Browse the repository at this point in the history
  • Loading branch information
yangguohao committed Sep 25, 2023
1 parent 747570c commit d606258
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions paddle/phi/kernels/cpu/activation_grad_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,6 @@ PD_REGISTER_KERNEL(pow_double_grad,
CPU,
ALL_LAYOUT,
phi::PowDoubleGradKernel,
phi::dtype::complex<float>,
phi::dtype::complex<double>,
float,
double,
int,
Expand All @@ -469,8 +467,6 @@ PD_REGISTER_KERNEL(pow_triple_grad,
CPU,
ALL_LAYOUT,
phi::PowTripleGradKernel,
phi::dtype::complex<float>,
phi::dtype::complex<double>,
float,
double,
int,
Expand Down
4 changes: 0 additions & 4 deletions paddle/phi/kernels/gpu/activation_grad_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,6 @@ PD_REGISTER_KERNEL(pow_double_grad,
double,
int,
int64_t,
phi::dtype::complex<float>,
phi::dtype::complex<double>,
phi::dtype::float16,
phi::dtype::bfloat16) {}
PD_REGISTER_KERNEL(pow_triple_grad,
Expand All @@ -555,7 +553,5 @@ PD_REGISTER_KERNEL(pow_triple_grad,
double,
int,
int64_t,
phi::dtype::complex<float>,
phi::dtype::complex<double>,
phi::dtype::float16,
phi::dtype::bfloat16) {}

0 comments on commit d606258

Please sign in to comment.