code: def _imshow(img):
      import matplotlib.pyplot as plt
  
      img = bchw2bhwc(img.detach().cpu().numpy())
      if img.shape[2] == 1:
          img = np.repeat(img, 3, axis=2)
      plt.imshow(img, vmin=0, vmax=1)
      plt.axis("off")
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import sys
  import pathlib
  from torch.utils.data.dataset import Subset
  import numpy
  import torch
  import torchvision.transforms
  import torchvision.datasets
  from advertorch.test_utils import LeNet5
label_desc: Use image node_id 13 for calling a global function with example usage: _imshow(img) without return types