未验证 提交 ef6dd6b8 编写于 作者: Z Zhen Wang 提交者: GitHub

fix the test_fleet_lars_meta_optimizer ut. (#27291)

上级 4e8582fe
......@@ -141,7 +141,7 @@ class TestFleetLambMetaOptimizer(unittest.TestCase):
ops = [op.type for op in avg_cost.block.ops]
self.assertIn('lamb', ops)
self.assertIn('cast', ops)
self.assertIn('isfinite', ops)
self.assertIn('check_finite_and_unscale', ops)
if __name__ == "__main__":
......
......@@ -145,7 +145,7 @@ class TestFleetLarsMetaOptimizer(unittest.TestCase):
ops = [op.type for op in avg_cost.block.ops]
self.assertIn('lars_momentum', ops)
self.assertIn('cast', ops)
self.assertIn('isfinite', ops)
self.assertIn('check_finite_and_unscale', ops)
if __name__ == "__main__":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册