





"""simple docstring"""



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


a_					=     logging.get_logger(__name__)






class 						__snake_case   (						SCREAMING_SNAKE_CASE__	):





 """simple docstring"""


 _lowerCamelCase								=	"""timm_backbone"""

 def __init__(       self   ,		__lowerCamelCase=None   ,		__lowerCamelCase=3   ,		__lowerCamelCase=True   ,		__lowerCamelCase=True   ,		__lowerCamelCase=None   ,		**__lowerCamelCase   ,		):



     '''simple docstring'''




     super().__init__(**__lowerCamelCase    )
     __A       :		Tuple							=	backbone
     __A       :		Any							=	num_channels
     __A       :		Any							=	features_only
     __A       :		List[str]							=	use_pretrained_backbone
     __A       :		Union[str, Any]							=	True
     __A       :		str							=	out_indices if out_indices is not None else (-1,)











"""simple docstring"""



import warnings

from ...utils import logging
from .image_processing_poolformer import PoolFormerImageProcessor


a_					=     logging.get_logger(__name__)






class 						__snake_case   (						SCREAMING_SNAKE_CASE__	):





 """simple docstring"""


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



     '''simple docstring'''




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




