Skip to content

Commit

Permalink
updation of timer doc
Browse files Browse the repository at this point in the history
  • Loading branch information
FarehaNousheen committed May 5, 2022
1 parent 052d66a commit cc60433
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ignite/handlers/timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class Timer:
Note:
When using ``Timer(average=True)`` do not forget to call ``timer.step()`` every time an event occurs. See
the examples below.
Note:
If "Timer" is attached to measure single epoch time, it can also record the time of all handlers attached prior to it. To obtain the actual time taken for the epoch completion, handlers have to be rearranged.
Examples:
Measuring total time of the epoch:
Expand Down

0 comments on commit cc60433

Please sign in to comment.