from ...configuration_utils import PretrainedConfig
from ...utils import logging


__lowerCamelCase      :			Union[str, Any]							       =		logging.get_logger(__name__)







class __snake_case    (						lowerCamelCase_		):
   lowerCAmelCase_														=							"timm_backbone"




   def __init__(   self      :    str	,     _lowercase      :    List[str]=None	,     _lowercase      :    Optional[int]=3	,     _lowercase      :    List[Any]=True	,     _lowercase      :    str=True	,     _lowercase      :    Optional[Any]=None	,     **_lowercase      :    Dict	,     ):



     """simple docstring"""






     super().__init__(**_lowercase				)
     SCREAMING_SNAKE_CASE__      							=				backbone
     SCREAMING_SNAKE_CASE__      							=				num_channels
     SCREAMING_SNAKE_CASE__      							=				features_only
     SCREAMING_SNAKE_CASE__      							=				use_pretrained_backbone
     SCREAMING_SNAKE_CASE__      							=				True
     SCREAMING_SNAKE_CASE__      							=				out_indices if out_indices is not None else (-1,)







import warnings

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


__lowerCamelCase      :			str							       =		logging.get_logger(__name__)







class __snake_case    (						lowerCamelCase_		):




   def __init__(   self      :    List[str]	,     *_lowercase      :    Union[str, Any]	,     **_lowercase      :    Union[str, Any]				):



     """simple docstring"""






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