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


__a  			=					logging.get_logger(__name__)

__a  			=					{
    'facebook/timesformer': 'https://huggingface.co/facebook/timesformer/resolve/main/config.json',
}
class  lowercase__(				UpperCAmelCase							):



	"""simple docstring"""




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

					lowercase_       =					image_size
					lowercase_       =					patch_size
					lowercase_       =					num_channels
					lowercase_       =					num_frames

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

					lowercase_       =					attention_type
					lowercase_       =					drop_path_rate






def 				a						(							snake_case__:					int = 100					):


				'''simple docstring'''
				lowercase_       =					(n * (n + 1) // 2) ** 2
				lowercase_       =					n * (n + 1) * (2 * n + 1) // 6
				return sum_cubes - sum_squares


if __name__ == "__main__":
						print(f"{solution() = }")




