



"""simple docstring"""
from ...configuration_utils import PretrainedConfig
from ...utils import logging


__a      =				logging.get_logger(__name__)

__a      =				{
    "MIT/ast-finetuned-audioset-10-10-0.4593": (
        "https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593/resolve/main/config.json"
    ),
}
class 				lowerCamelCase  (			_lowerCAmelCase				):






					'''simple docstring'''





					_A		:			Tuple						=     """audio-spectrogram-transformer"""






					def __init__(       self:							Tuple						,     snake_case:							Dict=768						,     snake_case:							Tuple=12						,     snake_case:							Tuple=12						,     snake_case:							str=3_072						,     snake_case:							List[Any]="gelu"						,     snake_case:							int=0.0						,     snake_case:							List[str]=0.0						,     snake_case:							Optional[Any]=0.0_2						,     snake_case:							Tuple=1E-12						,     snake_case:							int=16						,     snake_case:							List[str]=True						,     snake_case:							Dict=10						,     snake_case:							Dict=10						,     snake_case:							Any=1_024						,     snake_case:							List[str]=128						,     **snake_case:							List[str]						,     )   ->	Optional[int]:
											super().__init__(**snake_case						)

											snake_case_ :Optional[Any]						=			hidden_size
											snake_case_ :int						=			num_hidden_layers
											snake_case_ :Optional[int]						=			num_attention_heads
											snake_case_ :int						=			intermediate_size
											snake_case_ :Tuple						=			hidden_act
											snake_case_ :int						=			hidden_dropout_prob
											snake_case_ :Tuple						=			attention_probs_dropout_prob
											snake_case_ :Union[str, Any]						=			initializer_range
											snake_case_ :Any						=			layer_norm_eps
											snake_case_ :str						=			patch_size
											snake_case_ :List[str]						=			qkv_bias
											snake_case_ :str						=			frequency_stride
											snake_case_ :Any						=			time_stride
											snake_case_ :Dict						=			max_length
											snake_case_ :List[Any]						=			num_mel_bins





"""simple docstring"""
from __future__ import annotations

__a      =				10
def    A_  (			_lowercase	):







						'''simple docstring'''


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


if __name__ == "__main__":
						import doctest

						doctest.testmod()
