add NotImplementedError for multi optimizers (#22181)
* add NotImplementedError for multi optimizers used on multi-places . test=develop * assert error only if num_devices>1. test=develop * set test_optimizer_in_control_flow in CMakeLists for using multi-GPU.test=develop
Showing
想要评论请 注册 或 登录