class_docstr: Computes and stores the average and current value.
  
  Example:
      >>> stats = AverageMeter()
      >>> acc1 = torch.tensor(0.99) # coming from K.metrics.accuracy
      >>> stats.update(acc1, n=1)  # where n is batch size usually
      >>> round(stats.avg, 2)
      0.99
code: def __init__(self) -> None:
      self.reset()
  
imports: from typing import Union
  from kornia.core import Tensor
label_desc: Use image node_id 1 to create a new AverageMeter object  with example: obj = AverageMeter()