[AMP] support promote kernel for static graph (#52514)
* support promote dtype for static amp training * unify o1 and o2 * update for unittest * fix op_role * add use_promote arg * fix doc * add promote unittest * polish unittests * fix controflow and test
Showing
test/amp/test_amp_promote.py
0 → 100644
想要评论请 注册 或 登录