o
    ZŽh  ã                   @   s^   d Z ddlZddlmZ ddlmZ ddlmZ e e	¡Z
edd	G d
d„ deƒƒZdgZdS )z"Feature extractor class for Donut.é    Né   )Úlogging)Úrequiresé   )ÚDonutImageProcessor)Zvision)Úbackendsc                       s   e Zd Zd‡ fdd„Z‡  ZS )ÚDonutFeatureExtractorÚreturnNc                    s"   t  dt¡ tƒ j|i |¤Ž d S )Nz‡The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use DonutImageProcessor instead.)ÚwarningsÚwarnÚFutureWarningÚsuperÚ__init__)ÚselfÚargsÚkwargs©Ú	__class__© úa/var/www/auris/lib/python3.10/site-packages/transformers/models/donut/feature_extraction_donut.pyr      s
   ýzDonutFeatureExtractor.__init__)r	   N)Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__r   r   r   r   r      s    r   )Ú__doc__r
   Úutilsr   Zutils.import_utilsr   Zimage_processing_donutr   Z
get_loggerr   Úloggerr   Ú__all__r   r   r   r   Ú<module>   s   


