ModuloCheckpointKeeper
- class ModuloCheckpointKeeper(divisor: int = 10)[source]
Bases:
CheckpointKeeper
Keep checkpoints if the step is divisible by a number.
Attributes Summary
Methods Summary
__call__
(steps)Iterate over the steps for which checkpoints should be kept.
Attributes Documentation
- Parameters:
divisor (int)
Methods Documentation