code: def tensorboard_image(name, image, iteration, writer):
      # tensorboardX expects CHW images
      out_im = image.data.cpu().numpy().astype("uint8")
      writer.add_image(name, out_im, iteration)
  
file_path: DALI/docs/examples/use_cases/video_superres/model/model.py
imports: import time
  import scipy.misc
  import numpy
  from math import floor, log
  import torch
  import torch.nn
  from torch.nn import init
  from torch.autograd import Variable
  from torch.nn.functional import upsample
  import sys
label_desc: Use image node_id 6 for calling a global function with example usage: tensorboard_image(name, image, iteration, writer) without return types