make abs op support complex types (#30375)
* rewrite abs op * rewrite abs op and remove abs in activation * remove abs register in old codes * fix abs_grad type error * fix abs double_grad output name error * modify abs_grad, abs_grad_grad functor for windows building * format code style * fix the bug of result is nan when the divisor is zero * add missing abs attr and add abs for float16
Showing
paddle/fluid/operators/abs_op.cc
0 → 100644
paddle/fluid/operators/abs_op.cu
0 → 100644
paddle/fluid/operators/abs_op.h
0 → 100644
想要评论请 注册 或 登录