class_docstr: A simple class that maintains the running average of a quantity
  
  Example:
  ```
  loss_avg = RunningAverage()
  loss_avg.update(2)
  loss_avg.update(4)
  loss_avg() = 3
  ```
class_docstr_tok: ["A","simple","class","that","maintains","the","running","average","of","a","quantity","Example",":","``","`","loss_avg","=","RunningAverage","(",")","loss_avg.update","(","2",")","loss_avg.update","(","4",")","loss_avg","(",")","=","3","``","`"]
code: def __call__(self):
      return self.total / float(self.steps)
  
file_path: DeepKE/src/deepke/triple_extraction/PRGC/util.py
imports: import logging
  import os
  import shutil
  import json
  from pathlib import Path
  import torch
label_desc: Use image node_id 3 for calling the RunningAverage obj's underlying member method code with example usage: obj.__call__() and returns: unknown