class_docstr: Measures training stats.
code: def log_epoch_stats(self, cur_epoch):
      stats = self.get_epoch_stats(cur_epoch)
      logger.info(logging.dump_log_data(stats, self.phase + "_epoch"))
  
imports: from collections import deque
  import numpy
  import pycls.core.logging
  import torch
  from pycls.core.config import cfg
  from pycls.core.timer import Timer
label_desc: Use image node_id 9 for calling the TrainMeter obj's underlying member method code with example usage: obj.log_epoch_stats(cur_epoch) without return types