code: def permute(im: np.ndarray) -> np.ndarray:
      """
      Repermute the input image from [H, W, C] to [C, H, W].
  
      Args:
          im(np.ndarray): Input image.
      """
      im = np.transpose(im, (2, 0, 1))
      return im
  
file_path: PaddleHub/paddlehub/vision/functional.py
imports: import os
  from typing import List, Union
  import cv2
  import PIL
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: permute(im) and returns: im