def METHOD_NAME(program_config, predictor_config):
    in_dtype = program_config.inputs["input_data"].dtype
    index_dtpye = program_config.inputs["index_data"].dtype
    in_shape = list(program_config.inputs["input_data"].shape)
    if predictor_config.target() == TargetType.OpenCL:
        axis_dtpye = program_config.inputs["axis_data"].dtype
        if "int32" != axis_dtpye or "int32" != index_dtpye or len(
                in_shape) != 2:
            return True