code: def train3():
      for i in range(100):
          w.add_scalar("many_write_in_func", np.random.randn())
          time.sleep(0.01 * np.random.randint(0, 10))
  
file_path: tensorboardX/examples/demo_multiprocessing.py
imports: from tensorboardX import GlobalSummaryWriter
  import multiprocessing
  import time
  import os
  import psutil
  import torch
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: train3() without return types