code: def HWC2CHW(image):
      """
      Transpose the dimension from `height` x `width` x `channel` to
          `channel` x `height` x `width`.
      Args:
          image (array): image to transpose.
      Returns
          (array): transposed image.
      """
      return image.transpose([2, 0, 1])
  
imports: import math
  import numpy
  import cv2
label_desc: Use image node_id 8 for calling a global function with example usage: HWC2CHW(image) and returns: image