original_docstring: Map MXNet's transpose operator attributes to onnx's Transpose operator
      and return the created node.
      
docstring: Map MXNet's transpose operator attributes to onnx's Transpose operator
  and return the created node.
docstring_tokens: Map MXNet ' s transpose operator attributes to onnx ' s Transpose operator and return the created node .
code: def convert_transpose(node, **kwargs):
      """Map MXNet's transpose operator attributes to onnx's Transpose operator
      and return the created node.
      """
      onnx = import_onnx_modules()
      name = node["name"]
      input_idx = kwargs["index_lookup"][node["inputs"][0][0]]
      proc_nodes = kwargs["proc_nodes"]
      input_node = proc_nodes[input_idx].name
      axes = node.get("attrs", {}).get("axes", ())
      if axes:
          axes = tuple(map(int, re.findall(r'\d+', axes)))
  
          transpose_node = onnx.helper.make_node(
              "Transpose",
              [input_node],
              [name],
              perm=axes,
              name=name
          )
      else:
          transpose_node = onnx.helper.make_node(
              "Transpose",
              [input_node],
              [name],
              name=name
          )
  
      return [transpose_node]
code_tokens: def convert_transpose ( node , ** kwargs ) : onnx = import_onnx_modules ( ) name = node [ "name" ] input_idx = kwargs [ "index_lookup" ] [ node [ "inputs" ] [ 0 ] [ 0 ] ] proc_nodes = kwargs [ "proc_nodes" ] input_node = proc_nodes [ input_idx ] . name axes = node . get ( "attrs" , { } ) . get ( "axes" , ( ) ) if axes : axes = tuple ( map ( int , re . findall ( r'\d+' , axes ) ) ) transpose_node = onnx . helper . make_node ( "Transpose" , [ input_node ] , [ name ] , perm = axes , name = name ) else : transpose_node = onnx . helper . make_node ( "Transpose" , [ input_node ] , [ name ] , name = name ) return [ transpose_node ]
short_docstring: Map MXNet's transpose operator attributes to onnx's Transpose operator
  and return the created node.
short_docstring_tokens: Map MXNet ' s transpose operator attributes to onnx ' s Transpose operator and return the created node .
comment: """Map MXNet's transpose operator attributes to onnx's Transpose operator
      and return the created node.
      """