CheckpointInfo

class CheckpointInfo(path, iteration, timestamp, size_bytes, is_valid)[source]

Bases: object

Information about a checkpoint.

Variables:
  • path – Path to the checkpoint subdirectory.

  • iteration – Iteration number of this checkpoint.

  • timestamp – Modification time of the checkpoint directory.

  • size_bytes – Total size of the checkpoint in bytes.

  • is_valid – Whether the checkpoint is valid (has required files).

Attributes Summary

Attributes Documentation

is_valid: bool = <dataclasses._MISSING_TYPE object>
iteration: int = <dataclasses._MISSING_TYPE object>
path: Path = <dataclasses._MISSING_TYPE object>
size_bytes: int = <dataclasses._MISSING_TYPE object>
timestamp: datetime = <dataclasses._MISSING_TYPE object>