class_docstr: This class is used in Reporter.
  
  See the docstring of Reporter for the usage.
class_docstr_tok: ["This","class","is","used","in","Reporter",".","See","the","docstring","of","Reporter","for","the","usage","."]
code: def __init__(self, key: str, epoch: int, total_count: int):
      assert check_argument_types()
      self.key = key
      self.epoch = epoch
      self.start_time = time.perf_counter()
      self.stats = defaultdict(list)
      self._finished = False
      self.total_count = total_count
      self.count = 0
      self._seen_keys_in_the_step = set()
  
imports: import dataclasses
  import datetime
  import logging
  import time
  import warnings
  from collections import defaultdict
  from contextlib import contextmanager
  from pathlib import Path
  from typing import ContextManager, Dict, List, Optional, Sequence, Tuple, Union
  import humanfriendly
  import numpy
  import torch
  from packaging.version import parse
  from typeguard import check_argument_types, check_return_type
label_desc: Use image node_id 1 to create a new SubReporter object  with example: obj = SubReporter(key, epoch, total_count)