class_docstr: Track a series of values and provide access to smoothed values over a
  window or the global series average.
code: def avg(self):
      d = torch.tensor(list(self.deque))
      s = torch.tensor(list(self.batch_sizes))
      return d.sum().item() / s.sum().item()
  
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 5 for calling the SmoothedValue obj's underlying member method code with example usage: obj.avg() and returns: unknown