torchtnt.utils.timer.get_timer_summary¶
-
torchtnt.utils.timer.
get_timer_summary
(timer: TimerProtocol) str ¶ Given a timer, generate a summary of all the recorded actions.
Parameters: timer – the Timer object for which to generate a summary Raises: ValueError – If the input Timer has no recorded actions