class_docstr: Computes and stores the average and current value
class_docstr_tok: ["Computes","and","stores","the","average","and","current","value"]
code: def avg(self):
      return self.sum / self.count if self.count > 0 else self.val
  
imports: import bisect
  import time
  from collections import OrderedDict
  from typing import Dict, Optional
label_desc: Use image node_id 6 for calling the AverageMeter obj's underlying member method code with example usage: obj.avg() and returns: unknown