


from ..utils import DummyObject, requires_backends



class 				A       (			metaclass=UpperCAmelCase__				):
					'''simple docstring'''






					A__     =					['''onnx''']

					def __init__(self       :		List[Any] ,   *_UpperCAmelCase       :		Tuple ,   **_UpperCAmelCase       :		Any						)		->  List[str]:




							"""simple docstring"""


							requires_backends(self ,   ["""onnx"""]						)

					@classmethod
					def     lowerCamelCase__	(cls       :		Dict ,   *_UpperCAmelCase       :		List[Any] ,   **_UpperCAmelCase       :		str						)		->  Optional[int]:




							"""simple docstring"""


							requires_backends(cls ,   ["""onnx"""]						)


					@classmethod
					def     lowerCamelCase__	(cls       :		List[Any] ,   *_UpperCAmelCase       :		Dict ,   **_UpperCAmelCase       :		str						)		->  Any:




							"""simple docstring"""


							requires_backends(cls ,   ["""onnx"""]						)



'''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




