Add FuseOptimizerPass and test_dist_fuse_adam_pass unittest. (#39208)
* add fuse_relu_depthwise_conv_pass unittest * fix atol and rtol * fix according to review * Add FuseOptimizerPass and fuse_adam_pass unittest * add sgd and momentum unittest * add fuse_optimizer_pass * close amp * close amp * update * fix run on two cards * Update test_dist_fuse_adam_pass.py * Update test_dist_fuse_momentum_pass.py * Update test_dist_fuse_sgd_pass.py * Create test_dist_fuse_sgd_pass.py * Create test_dist_fuse_sgd_pass.py * Create test_dist_fuse_sgd_pass.py * Update test_dist_fuse_adam_pass.py * Update test_dist_fuse_momentum_pass.py * Update test_dist_fuse_sgd_pass.py
Showing
想要评论请 注册 或 登录