class_docstr: Computes and stores the average and current value
code: def reset(self):
      self.val = 0
      self.avg = 0
      self.sum = 0
      self.count = 0
  
imports: import torch
  import shutil
  import dill
  import os
  from subprocess import Popen, PIPE
  import pandas
  from PIL import Image
  from .None import constants
label_desc: Use image node_id 2 for calling the AverageMeter obj's underlying member method code with example usage: obj.reset() without return types