code: def transform_inverse(im_tensor, pixel_means):
      """
      transform from mxnet im_tensor to ordinary RGB image
      im_tensor is limited to one image
      :param im_tensor: [batch, channel, height, width]
      :param pixel_means: [B, G, R pixel means]
      :return: im [height, width, channel(RGB)]
      """
      assert im_tensor.shape[0] == 1
      im_tensor = im_tensor.copy()
      # put channel back
      channel_swap = (0, 2, 3, 1)
      im_tensor = im_tensor.transpose(channel_swap)
      im = im_tensor[0]
      assert im.shape[2] == 3
      im += pixel_means[[2, 1, 0]]
      im = im.astype(np.uint8)
      return im
  
imports: from __future__ import print_function
  import numpy
  import cv2
  import os
  import math
  import sys
  import random
  from ..config import config
label_desc: Use image node_id 14 for calling a global function with example usage: transform_inverse(im_tensor, pixel_means) and returns: im