LastCheckpointKeeper
- class LastCheckpointKeeper(keep: int = 1)[source]
Bases:
CheckpointKeeper
Keep the last \(n\) checkpoints.
Attributes Summary
the number of checkpoints to keep
Methods Summary
__call__
(steps)Iterate over the steps for which checkpoints should be kept.
Attributes Documentation
- Parameters:
keep (int)
Methods Documentation