mighty.monitor.batch_timer.ScheduleStep¶
- class mighty.monitor.batch_timer.ScheduleStep(epoch_step=1, batch_step=0)[source]¶
Performs an update each
epoch_step * timer.epoch_size + batch_step
batches.- Parameters:
- epoch_stepint, optional
Each epoch step. Default: 1
- batch_stepint, optional
Each batch step. Default: 0
Methods
__init__
([epoch_step, batch_step])- Returns:
- __call__(func: Callable)¶
Call self as a function.