class_docstr: permute image
  Args:
      to_bgr (bool): whether convert RGB to BGR 
      channel_first (bool): whether convert HWC to CHW
class_docstr_tok: ["permute","image","Args",":","to_bgr","(","bool",")",":","whether","convert","RGB","to","BGR","channel_first","(","bool",")",":","whether","convert","HWC","to","CHW"]
docstr: Args:
      im (np.ndarray): image (np.ndarray)
      im_info (dict): info of image
  Returns:
      im (np.ndarray):  processed image (np.ndarray)
      im_info (dict): info of processed image
docstr_tok: ["Args",":","im","(","np.ndarray",")",":","image","(","np.ndarray",")","im_info","(","dict",")",":","info","of","image","Returns",":","im","(","np.ndarray",")",":","processed","image","(","np.ndarray",")","im_info","(","dict",")",":","info","of","processed","image"]
code: def __call__(self, im, im_info):
      """
      Args:
          im (np.ndarray): image (np.ndarray)
          im_info (dict): info of image
      Returns:
          im (np.ndarray):  processed image (np.ndarray)
          im_info (dict): info of processed image
      """
      im = im.transpose((2, 0, 1)).copy()
      return im, im_info
  
imports: import cv2
  import numpy
label_desc: Use image node_id 2 for calling the Permute obj's underlying member method code with example usage: obj.__call__(im, im_info) and returns: im,  im_info