class_docstr: Track a series of values and provide access to smoothed values over a
  window or the global series average.
code: def update(self, value, batch_size):
      self.deque.append(value * batch_size)
      self.averaged_value_deque.append(value)
      self.batch_sizes.append(batch_size)
  
      self.count += 1
      self.total_samples += batch_size
      self.total += value * batch_size
  
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 3 for calling the SmoothedValue obj's underlying member method code with example usage: obj.update(value, batch_size) without return types