src/transformers/models/donut/image_processing_donut.py/DonutImageProcessor/pad
class DonutImageProcessor:    def pad(self, *args, **kwargs):
        logger.info("pad is deprecated and will be removed in version 4.27. Please use pad_image instead.")
        return self.pad_image(*args, **kwargs)