class_docstr: Track a series of values and provide access to smoothed values over a
  window or the global series average.
code: def reset(self):
      self.deque = deque(maxlen=self.window_size)
      self.averaged_value_deque = deque(maxlen=self.window_size)
      self.batch_sizes = deque(maxlen=self.window_size)
      self.total_samples = 0
      self.total = 0.0
      self.count = 0
  
imports: from collections import defaultdict, deque
  import torch
  from mmf.common.registry import registry
  from mmf.utils.distributed import reduce_dict
  from mmf.utils.general import scalarize_dict_values
label_desc: Use image node_id 2 for calling the SmoothedValue obj's underlying member method code with example usage: obj.reset() without return types