support fp16 index sample (#47897)
* add index sample fp16 support * remove fluid APIs in distributed_strategy.py and role_maker.py * Revert "remove fluid APIs in distributed_strategy.py and role_maker.py" This reverts commit 223bbee990d3bf69e252fc3c0f19e3873550a264. * fix instantiated more than once * clean codes
Showing
想要评论请 注册 或 登录