





'''simple docstring'''


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


lowerCAmelCase_   :   int       =					logging.get_logger(__name__)

lowerCAmelCase_   :   Optional[int]       =					{
    "facebook/timesformer": "https://huggingface.co/facebook/timesformer/resolve/main/config.json",
}






class       UpperCamelCase__  (		__lowerCAmelCase     ):
	lowerCAmelCase__					:			Optional[Any]								=						"timesformer"







	def __init__(				self			:   Dict , lowerCamelCase			:   Dict=2_2_4 , lowerCamelCase			:   Dict=1_6 , lowerCamelCase			:   Tuple=3 , lowerCamelCase			:   str=8 , lowerCamelCase			:   str=7_6_8 , lowerCamelCase			:   Union[str, Any]=1_2 , lowerCamelCase			:   Optional[Any]=1_2 , lowerCamelCase			:   int=3_0_7_2 , lowerCamelCase			:   List[Any]="gelu" , lowerCamelCase			:   Union[str, Any]=0.0 , lowerCamelCase			:   Optional[Any]=0.0 , lowerCamelCase			:   Optional[Any]=0.02 , lowerCamelCase			:   int=1e-6 , lowerCamelCase			:   str=True , lowerCamelCase			:   Optional[int]="divided_space_time" , lowerCamelCase			:   Tuple=0 , **lowerCamelCase			:   Optional[Any] , ):




				'''simple docstring'''
				super().__init__(**lowerCamelCase		)

				a__     = image_size
				a__     = patch_size
				a__     = num_channels
				a__     = num_frames

				a__     = hidden_size
				a__     = num_hidden_layers
				a__     = num_attention_heads
				a__     = intermediate_size
				a__     = hidden_act
				a__     = hidden_dropout_prob
				a__     = attention_probs_dropout_prob
				a__     = initializer_range
				a__     = layer_norm_eps
				a__     = qkv_bias

				a__     = attention_type
				a__     = drop_path_rate










'''simple docstring'''


import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script






@require_cpu
class       UpperCamelCase__  (		unittest.TestCase     ):







	def 						__a   (				self			:   List[str]		):




				'''simple docstring'''
				debug_launcher(test_script.main		)







	def 						__a   (				self			:   Dict		):




				'''simple docstring'''
				debug_launcher(test_ops.main		)



