code: def imshow(tensor, title=None):
      image = (
          tensor.cpu().clone()
      )  # we clone the tensor to not do changes on it
      image = image.squeeze(0)  # remove the fake batch dimension
      image = unloader(image)
      plt.imshow(image)
      if title is not None:
          plt.title(title)
      plt.pause(0.001)
  
imports: from __future__ import print_function
  import os
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.optim
  from PIL import Image
  import matplotlib.pyplot
  import torchvision.transforms
  import torchvision.models
  import copy
  from clearml import Task
label_desc: Use image node_id 2 for calling a global function with example usage: imshow(tensor, title) without return types