code: def add_value(self, name, init_val=0, init_iter=0):
      self.avg_values[name] = init_val
      self.iters[name] = init_iter
  
imports: import datetime
  import glob
  import os
  import shutil
  import subprocess
  import sys
  from pathlib import Path
  import torch
label_desc: Use image node_id 4 for calling the KeepAverage obj's underlying member method code with example usage: obj.add_value(name, init_val, init_iter) without return types