Skip to content

Commit

Permalink
Update helper_functions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdbourke authored Nov 14, 2021
1 parent 0c9c132 commit a7c2bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def print_train_time(start, end, device=None):
print(f"\nTrain time on {device}: {total_time:.3f} seconds")
else:
print(f"\nTrain time: {total_time:.3f} seconds")
return total_time
return round(total_time, 3)

0 comments on commit a7c2bda

Please sign in to comment.