def test_negative_non_linked_list_pattern(self):
        """
        If ``quantized_data`` feeds into multiple ``constexpr_affine_dequantize`` ops,
        the graph will not be changed.
        """
        quantized_data = np.random.randint(0, 256, (2, 3, 4)).astype(np.int8)

        @mb.program(input_specs=[], opset_version=ct.target.iOS16)
        def prog():
            data = mb.const(val=quantized_data)
            x = mb.constexpr_affine_dequantize(
                quantized_data=data,
                axis=0,
                scale=8.9,
                zero_point=np.int8(34),
            )
            y = mb.constexpr_affine_dequantize(
                quantized_data=data,
                axis=0,
                scale=8.1,
                zero_point=np.int8(56),
            )
            return mb.transpose(x=x, perm=(1, 0, 2)), mb.reshape(x=y, shape=(24,))

        apply_pass_and_basic_check(prog, "common::merge_affine_dequantize_with_consecutive_ops")
        assert get_op_types_in_program(prog) == [
            "constexpr_affine_dequantize",
            "constexpr_affine_dequantize",
            "transpose",
            "reshape",
        ]

        If ``quantized_data`` feeds into multiple ``constexpr_affine_dequantize`` ops,
        the graph will not be changed.
        
coremltools/converters/mil/mil/passes/tests/test_quantization_passes.py