Skip to content

CheckpointFileRegistration ​

python
CheckpointFileRegistration(name: str, file_type: type[CheckpointFile]) -> None

Declares one checkpoint file type a CheckpointManager should be able to decode.

Source

Values ​

file_type ​

python
file_type: type[CheckpointFile]

The concrete CheckpointFile subclass to decode files with this name into; it is registered under every extension in file_type.extensions().

Source

name ​

python
name: str

The checkpoint file's base name (must not contain '.').

Source