class_docstr: Computes and stores the average and current value.
class_docstr_tok: ["Computes","and","stores","the","average","and","current","value","."]
code: def __init__(self):
      self.reset()
  
imports: import time
  import numbers
  import socket
  import collections
  import numpy
  from contextlib import closing, contextmanager
  import torch
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 1 to create a new AverageMeter object  with example: obj = AverageMeter()