code: def gen_IR(self):
      print("OK")
      assert False
      print(self.torch_graph.model.childrens())
      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)
  
imports: import os
  import numpy
  from torch.utils.serialization import load_lua
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
  from mmdnn.conversion.common.utils import *
  from mmdnn.conversion.common.DataStructure.parser import Parser
  from mmdnn.conversion.torch.torch_graph import TorchGraph
label_desc: Use image node_id 3 for calling the TorchParser obj's underlying member method code with example usage: obj.gen_IR() without return types