code: def _convert_axis(IR_node, axis):
      ndim = len(IR_node.attr["_output_shapes"].list.shape[0].dim)
      if axis == 0:
          return 0
      elif axis == 1:
          return ndim - 1
      else:
          return axis - 1
  
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 5 for calling the MXNetParser obj's underlying member method code with example usage: obj._convert_axis(IR_node, axis) and returns: int, unknown, unknown