def METHOD_NAME(program_config, predictor_config):
    if "nvidia_tensorrt" in self.get_nnadapter_device_name():
        in_shape = program_config.inputs["input_data"].shape
        start_axis = program_config.ops[0].attrs["start_axis"]
        if len(in_shape) == 1 or start_axis == 0:
            return True