def METHOD_NAME(program_config, predictor_config):
    target_type = predictor_config.target()
    in_x_shape = list(program_config.inputs["input_data"].shape)
    if target_type != TargetType.Host and target_type != TargetType.OpenCL:
        if len(in_x_shape) == 0:
            return True