code: def transpose(data, dim):
      if dim == 1:
          data = data.transpose((2, 1, 0))
      elif dim == 2:
          data = data.transpose((2, 3, 1, 0))
      elif dim == 3:
          data = data.transpose((2, 3, 4, 1, 0))
      else:
          print("Warning: The weight of dim {0} cannot transpose" % dim)
  
      return data
  
imports: import os
  import sys
  import math
  import mxnet
  import numpy
  from mmdnn.conversion.mxnet.mxnet_graph import MXNetGraph
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
  from mmdnn.conversion.common.DataStructure.parser import Parser
  from mmdnn.conversion.common.utils import *
label_desc: Use image node_id 4 for calling the MXNetParser obj's underlying member method code with example usage: obj.transpose(data, dim) and returns: data