Add bfloat16 support for several operators and apis. (#52696)
* Cherry-pick the register of bfloat16 for amp_kernel, pull request #45541.
* Cherry-pick the master_grad support of adamw, pull request #51141.
* add bf16 for some ops in static mode (#51582)
* Add bfloat16 support for some api in static mode.
* Fix codestyle.
* Revert the change of layer_function_generator.py.
---------
Co-authored-by:
Shaojie WANG <wsjmessi@163.com>
Showing
想要评论请 注册 或 登录