Skip to content

Commit d58923d

Browse files
committed
add output to fit a line demo
1 parent cce8795 commit d58923d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/v2/fluid/tests/book/test_fit_a_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
avg_loss_value, = exe.run(fluid.default_main_program(),
5050
feed=feeder.feed(data),
5151
fetch_list=[avg_cost])
52-
52+
print(avg_loss_value)
5353
if avg_loss_value[0] < 10.0:
5454
exit(0) # if avg cost less than 10.0, we think our code is good.
5555
exit(1)

0 commit comments

Comments
 (0)