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 not in [
            TargetType.ARM, TargetType.Host, TargetType.X86,
            TargetType.Metal, TargetType.OpenCL
    ]:
        if len(in_x_shape) == 0:
            return True