





from ....utils import logging


_lowerCamelCase			       =      logging.get_logger(__name__)







class 			__A       (      __UpperCAmelCase  ):




      """simple docstring"""







      def __init__(		self      ,							a__      ,							a__=None      ,							a__=2048):



             """simple docstring"""





             _lowerCamelCase							:     Any	=		config.__dict__
             _lowerCamelCase							:     Optional[int]	=		modal_hidden_size
             if num_labels:
                    _lowerCamelCase							:     Optional[Any]	=		num_labels








import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


_lowerCamelCase			       =      logging.get_logger(__name__)







class 			__A       (      lowerCamelCase__  ):




      """simple docstring"""







      def __init__(		self      ,							*a__      ,							**a__):



             """simple docstring"""





             warnings.warn(
                 '''The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
                 ''' use DonutImageProcessor instead.'''      ,							a__      ,							)
             super().__init__(*a__      ,							**a__)

