class_docstr: Class to track progress during the loop. Includes state_dict/load_state_dict for convenience for checkpointing.
class_docstr_tok: ["Class","to","track","progress","during","the","loop",".","Includes","state_dict\/load_state_dict","for","convenience","for","checkpointing","."]
code: def __init__(
      self,
      num_epochs_completed: int = 0,
      num_steps_completed: int = 0,
      num_steps_completed_in_epoch: int = 0,
  ) -> None:
      self._num_epochs_completed: int = num_epochs_completed
      self._num_steps_completed: int = num_steps_completed
      self._num_steps_completed_in_epoch: int = (
          num_steps_completed_in_epoch
      )
  
file_path: tnt/torchtnt/utils/progress.py
imports: from collections.abc import Sized
  from typing import Any, Dict, Iterable, Optional
label_desc: Use image node_id 1 to create a new Progress object  with example: obj = Progress(num_epochs_completed, num_steps_completed, num_steps_completed_in_epoch)