未验证 提交 3d1902dc 编写于 作者: 姜永久 提交者: GitHub

rm dygraph_to_static eager guard tests part3 reinforce2yolo (#48795)

上级 4f10e943
......@@ -217,5 +217,4 @@ class TestDeclarative(unittest.TestCase):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -434,6 +434,4 @@ class TestResnet(unittest.TestCase):
if __name__ == '__main__':
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -127,5 +127,4 @@ class TestResnet(unittest.TestCase):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -136,5 +136,4 @@ class TestResnet(unittest.TestCase):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -600,6 +600,4 @@ class TestSeResnet(unittest.TestCase):
if __name__ == '__main__':
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -388,5 +388,4 @@ class TestSentiment(unittest.TestCase):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -242,6 +242,4 @@ class TestSeq2seq(unittest.TestCase):
if __name__ == '__main__':
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -176,6 +176,4 @@ class TestSimnet(unittest.TestCase):
if __name__ == '__main__':
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -556,6 +556,4 @@ class TestTransformer(unittest.TestCase):
if __name__ == '__main__':
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -390,6 +390,4 @@ class TestTsm(unittest.TestCase):
if __name__ == '__main__':
# switch into new eager mode
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -77,5 +77,4 @@ class TestTypeHint(TestTransformWhileLoop):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -332,5 +332,4 @@ class TestWord2Vec(unittest.TestCase):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
......@@ -177,5 +177,4 @@ class TestYolov3(unittest.TestCase):
if __name__ == '__main__':
with fluid.framework._test_eager_guard():
unittest.main()
unittest.main()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册