def METHOD_NAME(program_config, predictor_config):
    if self.get_nnadapter_device_name() is not None:
        in_shape = program_config.inputs["input_data"].shape
        axes = program_config.ops[0].attrs["axes"]
        for i in axes:
            if in_shape[i] != 1:
                return True