code: def gen_IR(self):
      # if node len(in_edges), generate additional DataInput node
  
      # print
      for layer in self.src_graph.topological_sort:
          current_node = self.src_graph.get_node(layer)
          node_type = current_node.type
          if hasattr(self, "rename_" + node_type):
              func = getattr(self, "rename_" + node_type)
              func(current_node)
          else:
              self.rename_UNKNOWN(current_node)
  
file_path: MMdnn/mmdnn/conversion/onnx/onnx_parser.py
imports: from mmdnn.conversion.common.DataStructure.parser import Parser
  from mmdnn.conversion.onnx.onnx_graph import ONNXGraph
label_desc: Use image node_id 5 for calling the ONNXParser obj's underlying member method code with example usage: obj.gen_IR() without return types