def METHOD_NAME(self, match_node_name):
    """Quantize AvgPool/MaxPool.
    Dequantize + MaxPool + QuantizeV2
    Dequantize + MaxPool3D + QuantizeV2
    Dequantize + AvgPool + QuantizeV2
    """
    skip_node_name = match_node_name[2:]
    matched_node = self.node_name_mapping[match_node_name[1]]
    control_inputs, normal_inputs = self._get_node_input(matched_node.node.name)
    _, q_inputs = self._get_node_input(normal_inputs[0])
    all_input_names = q_inputs
    skip_node_name.append(normal_inputs[0])
    for _, node in enumerate(self.input_graph.node):
        if node.name in skip_node_name:
            self.logger.debug("skip node {}".format(node.name))
        elif node.name == match_node_name[1]:
            self.logger.debug("Matched node {} with input {}.".format(node.name, node.input))
            quantized_op_name = node.name + "_eightbit_quantized"
            quantized_op_type = "Quantized" + node.op
            if node.op == "MaxPool3D":
                quantized_op_type = "_Quantized" + node.op
            quantized_pool_node = helper.create_node(quantized_op_type, quantized_op_name, all_input_names)
            self._add_pool_function(node, quantized_pool_node)
            self.add_output_graph_node(quantized_pool_node)
            deq_type = dtypes.quint8 if self._find_relu_node(node) else dtypes.qint8
            self._intel_cpu_add_dequantize_result_node(
                quantized_op_name, node.name, dtype=deq_type, performance_only=self.performance_only
            )
        else:
            new_node = node_def_pb2.NodeDef()
            new_node.CopyFrom(node)
            self.add_output_graph_node(new_node)