From 44791f428dffe1a7ac979566358ad1174e4ba601 Mon Sep 17 00:00:00 2001 From: Dang Qingqing Date: Wed, 26 Sep 2018 05:44:19 +0000 Subject: [PATCH] Fix unit test. --- python/paddle/fluid/contrib/tests/test_quantize_transpiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/contrib/tests/test_quantize_transpiler.py b/python/paddle/fluid/contrib/tests/test_quantize_transpiler.py index 4187ef0202..789fe33581 100644 --- a/python/paddle/fluid/contrib/tests/test_quantize_transpiler.py +++ b/python/paddle/fluid/contrib/tests/test_quantize_transpiler.py @@ -194,7 +194,7 @@ class TestQuantizeTranspiler(unittest.TestCase): startup = 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) test_program = test_program.clone(for_test=True) -- GitLab