


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


__UpperCamelCase     		=							logging.get_logger(__name__)

__UpperCamelCase     		=							{
    '''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__						(				UpperCAmelCase   ):






			"""simple docstring"""






			_UpperCamelCase		:       Optional[int] 			=		'audio-spectrogram-transformer'




			def __init__(				self   ,    snake_case=768   ,    snake_case=12   ,    snake_case=12   ,    snake_case=3072   ,    snake_case="gelu"   ,    snake_case=0.0   ,    snake_case=0.0   ,    snake_case=0.02   ,    snake_case=1E-1_2   ,    snake_case=16   ,    snake_case=True   ,    snake_case=10   ,    snake_case=10   ,    snake_case=1024   ,    snake_case=128   ,    **snake_case   ,    ):

						'''simple docstring'''


						super().__init__(**lowercase__  )

						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__       =							patch_size
						UpperCamelCase__       =							qkv_bias
						UpperCamelCase__       =							frequency_stride
						UpperCamelCase__       =							time_stride
						UpperCamelCase__       =							max_length
						UpperCamelCase__       =							num_mel_bins



from math import ceil, sqrt






def _lowerCamelCase  (		snake_case = 1_000_000  ):
							_lowerCAmelCase							=							0

							for outer_width in range(3     , (limit // 4) + 2  ):
														if outer_width**2 > limit:
																					_lowerCAmelCase							=							max(ceil(sqrt(outer_width**2 - limit  )  )     , 1  )
														else:
																					_lowerCAmelCase							=							1
														if (outer_width - hole_width_lower_bound) % 2:
																					hole_width_lower_bound += 1

														answer += (outer_width - hole_width_lower_bound - 2) // 2 + 1

							return answer


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






