UnionCheckpointKeeper
- class UnionCheckpointKeeper(bases: str | CheckpointKeeper | type[CheckpointKeeper] | None | Sequence[str | CheckpointKeeper | type[CheckpointKeeper] | None], bases_kwargs: Mapping[str, Any] | None | Sequence[Mapping[str, Any] | None] = None)[source]
Bases:
CheckpointKeeper
Keep a checkpoint where one of the criteria is met.
Attributes Summary
Methods Summary
__call__
(steps)Iterate over the steps for which checkpoints should be kept.
Attributes Documentation
- Parameters:
bases (str | CheckpointKeeper | type[CheckpointKeeper] | None | Sequence[str | CheckpointKeeper | type[CheckpointKeeper] | None])
bases_kwargs (Mapping[str, Any] | None | Sequence[Mapping[str, Any] | None])
Methods Documentation