diff --git a/python/paddle/fluid/contrib/tests/test_quantize_transpiler.py b/python/paddle/fluid/contrib/tests/test_quantize_transpiler.py index 4187ef0202c0e048ae2809e2fbd63b1c548d9712..789fe3358184e30110ba362e9e5539ff9be1e171 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)