





"""simple docstring"""





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


_UpperCamelCase							=      logging.get_logger(__name__)
class 		SCREAMING_SNAKE_CASE_							(    __lowerCAmelCase   ):
				"""simple docstring"""
				__snake_case   :       Optional[Any]	 =		"timm_backbone"




				def __init__(     self  :Optional[Any]						,    __lowercase  :Optional[int]=None						,    __lowercase  :str=3						,    __lowercase  :List[str]=True						,    __lowercase  :int=True						,    __lowercase  :List[str]=None						,    **__lowercase  :Union[str, Any]						,    ):
											super().__init__(**lowerCamelCase__			)
											__lowerCamelCase      :      str         =backbone
											__lowerCamelCase      :      Union[str, Any]         =num_channels
											__lowerCamelCase      :      List[str]         =features_only
											__lowerCamelCase      :      Dict         =use_pretrained_backbone
											__lowerCamelCase      :      Optional[Any]         =True
											__lowerCamelCase      :      Any         =out_indices if out_indices is not None else (-1,)











"""simple docstring"""





import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


_UpperCamelCase							=      logging.get_logger(__name__)
class 		SCREAMING_SNAKE_CASE_							(    snake_case__   ):
				"""simple docstring"""




				def __init__(     self  :List[str]						,    *__lowercase  :int						,    **__lowercase  :Any			):
											warnings.warn(
											    '''The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
											    ''' use FlavaImageProcessor instead.'''						,    __lowercase						,    )
											super().__init__(*__lowercase						,    **__lowercase			)




