





'''simple docstring'''







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


snake_case_     :       Optional[Any]						=  logging.get_logger(__name__)

snake_case_     :       Any						=  {
    "google/vivit-b-16x2-kinetics400": (
        "https://huggingface.co/google/vivit-b-16x2-kinetics400/resolve/main/config.json"
    ),
    # See all Vivit models at https://huggingface.co/models?filter=vivit
}


class 					__a      (lowerCamelCase     ):
							__a					:   List[str]									=       "vivit"

							def __init__(							self							:     Union[str, Any]       ,     __magic_name__							:     Tuple=2_24       ,     __magic_name__							:     str=32       ,     __magic_name__							:     str=[2, 16, 16]       ,     __magic_name__							:     Dict=3       ,     __magic_name__							:     List[Any]=7_68       ,     __magic_name__							:     Optional[Any]=12       ,     __magic_name__							:     int=12       ,     __magic_name__							:     Optional[Any]=30_72       ,     __magic_name__							:     Optional[int]="gelu_fast"       ,     __magic_name__							:     Dict=0.0       ,     __magic_name__							:     Dict=0.0       ,     __magic_name__							:     List[str]=0.0_2       ,     __magic_name__							:     Optional[Any]=1E-06       ,     __magic_name__							:     Tuple=True       ,     **__magic_name__							:     Union[str, Any]       ,     )					->       List[Any]:







													"""simple docstring"""
													UpperCAmelCase_			:      Optional[Any]     						=  hidden_size
													UpperCAmelCase_			:      str     						=  num_hidden_layers
													UpperCAmelCase_			:      str     						=  num_attention_heads
													UpperCAmelCase_			:      Union[str, Any]     						=  intermediate_size
													UpperCAmelCase_			:      Any     						=  hidden_act
													UpperCAmelCase_			:      Union[str, Any]     						=  hidden_dropout_prob
													UpperCAmelCase_			:      str     						=  attention_probs_dropout_prob
													UpperCAmelCase_			:      Union[str, Any]     						=  initializer_range
													UpperCAmelCase_			:      Optional[Any]     						=  layer_norm_eps

													UpperCAmelCase_			:      Union[str, Any]     						=  image_size
													UpperCAmelCase_			:      List[Any]     						=  num_frames
													UpperCAmelCase_			:      str     						=  tubelet_size
													UpperCAmelCase_			:      Optional[int]     						=  num_channels
													UpperCAmelCase_			:      List[str]     						=  qkv_bias

													super().__init__(**__magic_name__   )












'''simple docstring'''







def        lowerCamelCase_      (  SCREAMING_SNAKE_CASE__      :			int,			SCREAMING_SNAKE_CASE__      :			int   ) ->	int:
						return abs(SCREAMING_SNAKE_CASE__   ) if a == 0 else greatest_common_divisor(b % a,			SCREAMING_SNAKE_CASE__   )





def        lowerCamelCase_      (  SCREAMING_SNAKE_CASE__      :			int,			SCREAMING_SNAKE_CASE__      :			int   ) ->	int:
						while y:  # --> when y=0 then loop will terminate and return x as final GCD.
												UpperCAmelCase_						,       UpperCAmelCase_			:      Optional[Any]     						=  y, x % y
						return abs(SCREAMING_SNAKE_CASE__   )





def        lowerCamelCase_      (  ) ->	Optional[int]:
						try:
												UpperCAmelCase_			:      Optional[Any]     						=  input('''Enter two integers separated by comma (,): '''   ).split(''','''   )
												UpperCAmelCase_			:      Optional[int]     						=  int(nums[0]   )
												UpperCAmelCase_			:      List[Any]     						=  int(nums[1]   )
												print(
												    F"""greatest_common_divisor({num_a}, {num_a}) = """
												    F"""{greatest_common_divisor(SCREAMING_SNAKE_CASE__,			SCREAMING_SNAKE_CASE__   )}"""   )
												print(F"""By iterative gcd({num_a}, {num_a}) = {gcd_by_iterative(SCREAMING_SNAKE_CASE__,			SCREAMING_SNAKE_CASE__   )}"""   )
						except (IndexError, UnboundLocalError, ValueError):
												print('''Wrong input'''   )


if __name__ == "__main__":
					main()





