LastCheckpointKeeper
- class LastCheckpointKeeper(keep: int = 1)[source]
Bases:
CheckpointKeeperKeep 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