log/Log10/log2/log1p support int32/int64/float16/bfloat16 forward (#54089)
* fix for log xxx * add int32/int64 for cpu/gpu; add float16/bfloat16 for cpu forward * fix docstring * fix bug * fix bugs * fix bugs * fix bugs * fix bugs * fix bug * using cast * fix test * fix api * fix other bugs * fix ci bug for not using dygraph guard * add bfloat16 test * fix ut * bf16
显示
- paddle/phi/kernels/cpu/activation_kernel.cc 76 个添加, 25 个删除paddle/phi/kernels/cpu/activation_kernel.cc
- paddle/phi/kernels/funcs/activation_functor.h 160 个添加, 12 个删除paddle/phi/kernels/funcs/activation_functor.h
- paddle/phi/kernels/gpu/activation_kernel.cu 57 个添加, 8 个删除paddle/phi/kernels/gpu/activation_kernel.cu
- paddle/phi/kernels/impl/activation_impl.h 3 个添加, 3 个删除paddle/phi/kernels/impl/activation_impl.h
- python/paddle/tensor/math.py 20 个添加, 8 个删除python/paddle/tensor/math.py
想要评论请 注册 或 登录