code: def rename_Pooling(self, coreml_node):
      IR_node = self.IR_graph.node.add()
  
      coreml_node_layer = coreml_node.layer
      coreml_node_pool = coreml_node_layer.pooling
  
      # name, op
      CoremlParser._copy_and_reop(coreml_node, IR_node, "Pool")
  
      # input edge
      self.convert_inedge(coreml_node, IR_node)
  
      kwargs = {}
  
      # MAX = 0, AVERAGE = 1, L2 = 2
      if coreml_node_pool.type == 0:
          kwargs["pooling_type"] = "MAX"
      elif coreml_node_pool.type == 1:
          kwargs["pooling_type"] = "AVG"
      elif coreml_node_pool.type == 2:
          kwargs["pooling_type"] = "L2"
  
      is_global = coreml_node_pool.globalPooling
  
      if is_global:
          kwargs["global_pooling"] = True
          kwargs["global_pooling_coreml"] = True
          kwargs["shape_coreml"] = [
              self.shape_dict[coreml_node_layer.name][3],
              self.shape_dict[coreml_node_layer.name][4],
              self.shape_dict[coreml_node_layer.name][2],
          ]
  
      # padding
      self._convert_padding(coreml_node, IR_node)
  
      # strides
      # [1, sd, sh, sw, 1]
      kwargs["strides"] = [1] + list(coreml_node_pool.stride) + [1]
  
      # window_shape
      # [1, pd, ph, pw, 1]
      kwargs["kernel_shape"] = (
          [1] + list(coreml_node_pool.kernelSize) + [1]
      )
  
      assign_IRnode_values(IR_node, kwargs)
  
imports: import os
  from six import string_types
  import numpy
  import math
  from coremltools.models.neural_network import NeuralNetworkBuilder
  from coremltools.models import datatypes
  from coremltools.models import MLModel
  from coremltools.models.utils import save_spec
  from coremltools.models._infer_shapes_nn_mlmodel import infer_shapes
  from coremltools.proto import Model_pb2, NeuralNetwork_pb2
  from mmdnn.conversion.coreml.coreml_graph import CoremlGraph
  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 21 for calling the CoremlParser obj's underlying member method code with example usage: obj.rename_Pooling(coreml_node) without return types