class_docstr: Computes and stores the average and current value.
code: def __init__(self):
      self.reset()
  
imports: import collections
  from contextlib import closing, contextmanager
  import logging
  import numpy
  import socket
  import time
label_desc: Use image node_id 1 to create a new AverageMeter object  with example: obj = AverageMeter()