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","."]
docstr: Number of epochs completed thus far in loop.
docstr_tok: ["Number","of","epochs","completed","thus","far","in","loop","."]
code: def num_epochs_completed(self) -> int:
      """Number of epochs completed thus far in loop."""
      return self._num_epochs_completed
  
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 2 for calling the Progress obj's underlying member method code with example usage: obj.num_epochs_completed() and returns: self