code: def __init__(self, model):
      super(ONNXGraph, self).__init__(model)
      self._graph = model.graph
      # key is edge name, value is src/dst node name
      self._edge_src = dict()
      self._edge_dst = dict()
      # key is initializer name, value is TensorProto
      self._weights = dict()
      self._inputs = dict()
      self._outputs = dict()
  
file_path: MMdnn/mmdnn/conversion/onnx/onnx_graph.py
imports: from mmdnn.conversion.common.DataStructure.graph import GraphNode, Graph
  from onnx import onnx_pb2
label_desc: Use image node_id 2 to create a new ONNXGraph object from inherited base classes: Graph with example: obj = ONNXGraph(model)