未验证 提交 55f9b71a 编写于 作者: A Aurelius84 提交者: GitHub

[Eager]Switch new Eager mode (#40990)

* [Eager]Switch new Eager mode

* switch into eager

* fix typo
上级 5de41ef2
......@@ -314,4 +314,6 @@ class TestPtb(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -366,4 +366,6 @@ class TestResnet(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -505,4 +505,6 @@ class TestSeResnet(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -203,4 +203,6 @@ class TestSeq2seq(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -170,4 +170,6 @@ class TestSimnet(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -402,4 +402,6 @@ class TestTransformer(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
......@@ -347,4 +347,6 @@ class TestTsm(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
# switch into new eager mode
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.
先完成此消息的编辑!
想要评论请 注册