



import warnings

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


_lowercase    	=		logging.get_logger(__name__)



class      _UpperCAmelCase      (							A__  ):




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





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


_lowercase    	=		logging.get_logger(__name__)



class      _UpperCAmelCase      (							A__  ):
     UpperCamelCase__		     =					'''timm_backbone'''




     def __init__(					self			,    a__=None			,    a__=3			,    a__=True			,    a__=True			,    a__=None			,    **a__			,    ):
         super().__init__(**a__)
         A__					=       backbone
         A__					=       num_channels
         A__					=       features_only
         A__					=       use_pretrained_backbone
         A__					=       True
         A__					=       out_indices if out_indices is not None else (-1,)
