class_docstr: Measures testing stats.
code: def log_iter_stats(self, cur_epoch, cur_iter):
      if (cur_iter + 1) % cfg.LOG_PERIOD == 0:
          stats = self.get_iter_stats(cur_epoch, cur_iter)
          logger.info(
              logging.dump_log_data(stats, self.phase + "_iter")
          )
  
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 7 for calling the TestMeter obj's underlying member method code with example usage: obj.log_iter_stats(cur_epoch, cur_iter) without return types