code: def _convert_transpose(node, graph, err):
      # print(node, graph)
      node_name = node.name
      input_name = str(node.inputs[0])
      output_name = str(node.outputs[0])
      # print(node.attrs, node_name, input_name, output_name)
      layer = myf(
          "Permute",
          node_name,
          [input_name],
          [output_name],
          permute_param=dict(order=node.attrs["perm"]),
      )
  
      graph.channel_dims[output_name] = graph.channel_dims[input_name]
      return layer
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from caffe import params
  import math
  import numpy
  from ._graph import Node, Graph
  from MyCaffe import Function
label_desc: Use image node_id 16 for calling a global function with example usage: _convert_transpose(node, graph, err) and returns: layer