提交 e26cc4fe 编写于 作者: F fengjiayi

fix_an_error

上级 cf87f39b
......@@ -49,7 +49,7 @@ class TestProfiler(unittest.TestCase):
exe.run(startup_program)
pass_acc_calculator = fluid.average.WeightedAverage()
with profiler.profiler(state, 'total') as prof:
with profiler.profiler(state, 'total', profile_path) as prof:
for iter in range(10):
if iter == 2:
profiler.reset_profiler()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册