Skip to content

Commit

Permalink
rm relu xpu_kp registry (#40364)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshburnLee authored Mar 10, 2022
1 parent b97e6d1 commit 843f6da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions paddle/fluid/operators/activation_op.kps
Original file line number Diff line number Diff line change
Expand Up @@ -1553,8 +1553,6 @@ FOR_EACH_ACTIVATION_CUDA_OP(REGISTER_ACTIVATION_CUDA_KERNEL)

REGISTER_ACTIVATION_XPU_KERNEL(leaky_relu, LeakyRelu, CudaLeakyReluFunctor,
CudaLeakyReluGradFunctor);
REGISTER_ACTIVATION_XPU_KERNEL(relu, Relu, CudaReluFunctor,
CudaReluGradFunctor);
REGISTER_ACTIVATION_XPU_KERNEL(sigmoid, Sigmoid, CudaSigmoidFunctor,
CudaSigmoidGradFunctor);
REGISTER_ACTIVATION_XPU_KERNEL(exp, Exp, CudaExpFunctor, CudaExpGradFunctor);
Expand Down

0 comments on commit 843f6da

Please sign in to comment.