class_docstr: Measures testing stats.
code: def update_stats(self, top1_err, top5_err, mb_size):
      self.mb_top1_err.add_value(top1_err)
      self.mb_top5_err.add_value(top5_err)
      self.num_top1_mis += top1_err * mb_size
      self.num_top5_mis += top5_err * mb_size
      self.num_samples += mb_size
  
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 5 for calling the TestMeter obj's underlying member method code with example usage: obj.update_stats(top1_err, top5_err, mb_size) without return types