class_docstr: A grouping of AverageMeters.
class_docstr_tok: ["A","grouping","of","AverageMeters","."]
code: def update(self, metrics, n=1):
      self._batch_count += 1
      self.n += n
      for metric, value in metrics.items():
          self._meters[metric].update(value, n=n)
  
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 2 for calling the AverageMeterCollection obj's underlying member method code with example usage: obj.update(metrics, n) without return types