



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


UpperCAmelCase__     = logging.get_logger(__name__)

UpperCAmelCase__     = {
    "facebook/timesformer": "https://huggingface.co/facebook/timesformer/resolve/main/config.json",
}







class     __lowerCAmelCase					(    A		):
			UpperCamelCase           =  '''timesformer'''



			def __init__(							self     :						Optional[Any]				,	A     :						str=2_24				,	A     :						List[str]=16				,	A     :						Any=3				,	A     :						Optional[Any]=8				,	A     :						Optional[Any]=7_68				,	A     :						str=12				,	A     :						int=12				,	A     :						str=30_72				,	A     :						Optional[Any]="gelu"				,	A     :						Tuple=0.0				,	A     :						str=0.0				,	A     :						Union[str, Any]=0.0_2				,	A     :						List[Any]=1E-6				,	A     :						Any=True				,	A     :						Tuple="divided_space_time"				,	A     :						Optional[int]=0				,	**A     :						Tuple				,	)     ->					str:



						"""simple docstring"""






						super().__init__(**A)

						_UpperCAmelCase	 =     image_size
						_UpperCAmelCase	 =     patch_size
						_UpperCAmelCase	 =     num_channels
						_UpperCAmelCase	 =     num_frames

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

						_UpperCAmelCase	 =     attention_type
						_UpperCAmelCase	 =     drop_path_rate





def 							A			(  _UpperCAmelCase       :     int							,     _UpperCAmelCase       :     int					)       ->				int:







			'''simple docstring'''
			while second != 0:
						_UpperCAmelCase	 =     first & second
						first ^= second
						_UpperCAmelCase	 =     c << 1
			return first


if __name__ == "__main__":
							import doctest

							doctest.testmod()

							UpperCAmelCase__     = int(input("Enter the first number: ").strip())
							UpperCAmelCase__     = int(input("Enter the second number: ").strip())
							print(f"""{add(first, second) = }""")
