code: def _set_output_shape(source_node, IR_node, output_shapes):
      shape = graph_pb2.TensorShape()
      for output_shape in output_shapes:
          new_dim = shape.dim.add()
          new_dim.size = output_shape
      IR_node.attr["_output_shapes"].list.shape.extend([shape])
  
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 5 for calling the PaddleParser obj's underlying member method code with example usage: obj._set_output_shape(source_node, IR_node, output_shapes) without return types