code: def chw_to_hwc(data: np.ndarray):
      if len(data.shape) == 3:
          return data.transpose(1, 2, 0)
      return data
  
file_path: icevision/icevision/utils/imageio.py
imports: from icevision.imports import *
  from PIL import ExifTags
label_desc: Use image node_id 3 for calling a global function with example usage: chw_to_hwc(data) and returns: data, data