



import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


UpperCAmelCase_		 =					logging.get_logger(__name__)


class 	lowerCamelCase__	(       __snake_case):



 """simple docstring"""

 def __init__(    self					:					Any			,						*__lowerCAmelCase					:					Any			,						**__lowerCAmelCase					:					List[Any]      )   ->	None:
    warnings.warn(
        '''The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
        ''' use YolosImageProcessor instead.'''			,						__lowerCAmelCase			,						)
    super().__init__(*__lowerCAmelCase			,						**__lowerCAmelCase      )





'''simple docstring'''




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


lowercase     :							Any       						=     logging.get_logger(__name__)

lowercase     :							int       						=     {
    'facebook/timesformer': 'https://huggingface.co/facebook/timesformer/resolve/main/config.json',
}





class 					A							(				__snake_case		):
     __magic_name__          =						'''timesformer'''





     def __init__(				self		,     SCREAMING_SNAKE_CASE=224		,     SCREAMING_SNAKE_CASE=16		,     SCREAMING_SNAKE_CASE=3		,     SCREAMING_SNAKE_CASE=8		,     SCREAMING_SNAKE_CASE=768		,     SCREAMING_SNAKE_CASE=12		,     SCREAMING_SNAKE_CASE=12		,     SCREAMING_SNAKE_CASE=3072		,     SCREAMING_SNAKE_CASE="gelu"		,     SCREAMING_SNAKE_CASE=0.0		,     SCREAMING_SNAKE_CASE=0.0		,     SCREAMING_SNAKE_CASE=0.02		,     SCREAMING_SNAKE_CASE=1e-6		,     SCREAMING_SNAKE_CASE=True		,     SCREAMING_SNAKE_CASE="divided_space_time"		,     SCREAMING_SNAKE_CASE=0		,     **SCREAMING_SNAKE_CASE		,     )					->							Tuple:






         """simple docstring"""






         super().__init__(**SCREAMING_SNAKE_CASE      )

         A			:  List[Any]   =		image_size
         A			:  List[str]   =		patch_size
         A			:  List[str]   =		num_channels
         A			:  str   =		num_frames

         A			:  Any   =		hidden_size
         A			:  Dict   =		num_hidden_layers
         A			:  Any   =		num_attention_heads
         A			:  Optional[Any]   =		intermediate_size
         A			:  Union[str, Any]   =		hidden_act
         A			:  Tuple   =		hidden_dropout_prob
         A			:  Optional[int]   =		attention_probs_dropout_prob
         A			:  Tuple   =		initializer_range
         A			:  List[Any]   =		layer_norm_eps
         A			:  Union[str, Any]   =		qkv_bias

         A			:  List[str]   =		attention_type
         A			:  Union[str, Any]   =		drop_path_rate




