code: def __init__(self, model):
      super(PaddleParser, self).__init__()
  
      if isinstance(model, tuple):
          model_network_path, model_weight_path = model
  
      # Build network graph
      model, parameters = self._load_model(
          model_network_path, model_weight_path
      )
      self.paddle_graph = PaddleGraph(model)
      self.paddle_graph.build()
      self.parameters = parameters
      self.shape_dict = dict()
  
imports: from __future__ import absolute_import
  import os
  import gzip
  from six import string_types
  import paddle.v2
  import paddle.trainer_config_helpers.layers
  import numpy
  from mmdnn.conversion.paddle.paddle_graph import PaddleGraph
  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 3 to create a new PaddleParser object from inherited base classes: Parser with example: obj = PaddleParser(model)