class_docstr: Measures a scalar value (adapted from Detectron).
code: def add_value(self, value):
      self.deque.append(value)
      self.count += 1
      self.total += value
  
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 3 for calling the ScalarMeter obj's underlying member method code with example usage: obj.add_value(value) without return types