未验证 提交 4f10e943 编写于 作者: 姜永久 提交者: GitHub

rm dy2static eager tests part1 bert2loop (#48790)

上级 fe1f9c97
......@@ -281,5 +281,4 @@ class TestBert(unittest.TestCase):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -880,5 +880,4 @@ class TestTrain(unittest.TestCase):
if __name__ == "__main__":
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -292,5 +292,4 @@ class TestOptimBreakInWhile(TestContinueInWhile):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -723,5 +723,4 @@ class TestCycleGANModel(unittest.TestCase):
if __name__ == "__main__":
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -58,5 +58,4 @@ class TestDuplicateOutput(unittest.TestCase):
if __name__ == '__main__':
with paddle.fluid.framework._test_eager_guard():
unittest.main()
......@@ -509,5 +509,4 @@ class TestDy2StIfElseBackward(unittest.TestCase):
if __name__ == '__main__':
with paddle.fluid.framework._test_eager_guard():
unittest.main()
......@@ -709,5 +709,4 @@ class TestLACModel(unittest.TestCase):
if __name__ == "__main__":
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -442,5 +442,4 @@ class TestErrorInForLoop(TestTransformForLoop):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册