code: def train(x):
      w.add_scalar("poolmap/1", x * np.random.randn())
      time.sleep(0.05 * np.random.randint(0, 10))
      w.add_scalar("poolmap/2", x * np.random.randn())
  
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 3 for calling a global function with example usage: train(x) without return types