class_docstr: Computes and stores the average and current value
code: def update(self, val, n=1):
      self.val = val
      self.sum += val * n
      self.count += n
      self.avg = self.sum / self.count
  
imports: import argparse
  import os
  import random
  import shutil
  import time
  import warnings
  import PIL
  import torch
  import torch.nn
  import torch.nn.parallel
  import torch.backends.cudnn
  import torch.distributed
  import torch.optim
  import torch.multiprocessing
  import torch.utils.data
  import torch.utils.data.distributed
  import torchvision.transforms
  import torchvision.datasets
  import torchvision.models
  from efficientnet_pytorch import EfficientNet
label_desc: Use image node_id 3 for calling the AverageMeter obj's underlying member method code with example usage: obj.update(val, n) without return types