提交 44791f42 编写于 作者: D Dang Qingqing

Fix unit test.

上级 b7146d60
...@@ -194,7 +194,7 @@ class TestQuantizeTranspiler(unittest.TestCase): ...@@ -194,7 +194,7 @@ class TestQuantizeTranspiler(unittest.TestCase):
startup = fluid.Program() startup = fluid.Program()
test_program = fluid.Program() test_program = fluid.Program()
feeds, loss = build_program(main, startup, True) feeds, loss = build_program(main, startup, False)
build_program(test_program, startup, True) build_program(test_program, startup, True)
test_program = test_program.clone(for_test=True) test_program = test_program.clone(for_test=True)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册