def METHOD_NAME(program_config, predictor_config):
    target_type = predictor_config.target()
    in_shape = list(program_config.inputs["input_data"].shape)
    axis = program_config.ops[0].attrs["dim"]
    if target_type == TargetType.OpenCL:
        if len(axis) == 1 and len(in_shape) == 4:
            return True