提交 49c672d0 编写于 作者: D Dang Qingqing

Fix unit test in Python 3.5

上级 605907fe
......@@ -216,7 +216,7 @@ class TestQuantizeTranspiler(unittest.TestCase):
fetch_list=[loss])
with fluid.program_guard(test_program):
test_data = test_reader().next()
test_data = next(test_reader())
f_var = fluid.framework.get_var('conv2d_1.tmp_0', test_program)
w_var = fluid.framework.get_var('conv2d_1.w_0.quantized',
test_program)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册