code: def update(self, stats):
      if self.meters is None:
          self.meters = {
              k: SmoothedValue(self.window_size) for k in stats.keys()
          }
      for k, v in self.meters.items():
          v.update(float(stats[k]))
  
file_path: PaddleDetection/ppdet/utils/stats.py
imports: import collections
  import numpy
label_desc: Use image node_id 2 for calling the TrainingStats obj's underlying member method code with example usage: obj.update(stats) without return types