class_docstr: Measures a scalar value (adapted from Detectron).
code: def reset(self):
      self.deque.clear()
      self.total = 0.0
      self.count = 0
  
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 2 for calling the ScalarMeter obj's underlying member method code with example usage: obj.reset() without return types