code: def dict_to_tb(dict, writer, epoch):
      """
      Add a dictionary of statistics to a Tensorboard writer
  
      Args:
          dict (dict): Statistics of experiments, the keys are attribute names,
          the values are the attribute values
          writer: Tensorboard writer object
          epoch (int): The current epoch
  
      """
      for key in dict:
          writer.add_scalar(key, dict[key], epoch)
  
file_path: GraphGym/graphgym/utils/io.py
imports: import ast
  import json
  import os
  import shutil
label_desc: Use image node_id 5 for calling a global function with example usage: dict_to_tb(dict, writer, epoch) without return types