Skip to content

Commit e26cc4f

Browse files
committed
fix_an_error
1 parent cf87f39 commit e26cc4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/tests/unittests/test_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def net_profiler(self, state, profile_path='/tmp/profile'):
4949
exe.run(startup_program)
5050

5151
pass_acc_calculator = fluid.average.WeightedAverage()
52-
with profiler.profiler(state, 'total') as prof:
52+
with profiler.profiler(state, 'total', profile_path) as prof:
5353
for iter in range(10):
5454
if iter == 2:
5555
profiler.reset_profiler()

0 commit comments

Comments
 (0)