






"""simple docstring"""



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


A_    =							logging.get_logger(__name__)

A_    =							{
    'sayakpaul/vit-msn-base': 'https://huggingface.co/sayakpaul/vit-msn-base/resolve/main/config.json',
    # See all ViT MSN models at https://huggingface.co/models?filter=vit_msn
}






class 							__SCREAMING_SNAKE_CASE						(				UpperCamelCase		):
       snake_case_     =							'''vit_msn'''


       def __init__(			self      :						Union[str, Any]			,    snake_case      :						Dict=768			,    snake_case      :						Optional[int]=12			,    snake_case      :						Optional[Any]=12			,    snake_case      :						List[Any]=3072			,    snake_case      :						Tuple="gelu"			,    snake_case      :						Dict=0.0			,    snake_case      :						Optional[int]=0.0			,    snake_case      :						Any=0.02			,    snake_case      :						Any=1e-06			,    snake_case      :						List[str]=224			,    snake_case      :						Optional[Any]=16			,    snake_case      :						int=3			,    snake_case      :						Tuple=True			,    **snake_case      :						List[Any]			,    ):
             '''simple docstring'''





             super().__init__(**A__							)

             A__						:  Optional[int]		  =  hidden_size
             A__						:  List[str]		  =  num_hidden_layers
             A__						:  Any		  =  num_attention_heads
             A__						:  Optional[Any]		  =  intermediate_size
             A__						:  str		  =  hidden_act
             A__						:  Union[str, Any]		  =  hidden_dropout_prob
             A__						:  Optional[int]		  =  attention_probs_dropout_prob
             A__						:  Tuple		  =  initializer_range
             A__						:  Optional[Any]		  =  layer_norm_eps
             A__						:  Optional[Any]		  =  image_size
             A__						:  List[str]		  =  patch_size
             A__						:  Tuple		  =  num_channels
             A__						:  str		  =  qkv_bias














"""simple docstring"""



from __future__ import annotations

A_    =							10




def      _lowerCAmelCase		(							UpperCAmelCase__       :					list[int]      )		->list[int]:
						A__						:  Any		  =  1
						A__						:  Optional[int]		  =  max(UpperCAmelCase__      )
						while placement <= max_digit:
												# declare and initialize empty buckets
												A__						:  list[list]		  =  [[] for _ in range(UpperCAmelCase__      )]
												# split list_of_ints between the buckets
												for i in list_of_ints:
																		A__						:  List[Any]		  =  int((i / placement) % RADIX      )
																		buckets[tmp].append(UpperCAmelCase__      )
												# put each buckets' contents into list_of_ints
												A__						:  Union[str, Any]		  =  0
												for b in range(UpperCAmelCase__      ):
																		for i in buckets[b]:
																								A__						:  str		  =  i
																								a += 1
        # move to next
												placement *= RADIX
						return list_of_ints


if __name__ == "__main__":
						import doctest

						doctest.testmod()






