





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        snake_case_    (		__lowercase						):
  A_      							=   'audio-spectrogram-transformer'






  def __init__(							self			:					str       ,  _snake_case			:					List[str]=768       ,  _snake_case			:					List[str]=12       ,  _snake_case			:					Tuple=12       ,  _snake_case			:					Dict=3072       ,  _snake_case			:					Optional[Any]="gelu"       ,  _snake_case			:					str=0.0       ,  _snake_case			:					List[str]=0.0       ,  _snake_case			:					List[Any]=0.02       ,  _snake_case			:					Tuple=1E-12       ,  _snake_case			:					Optional[int]=16       ,  _snake_case			:					str=True       ,  _snake_case			:					Union[str, Any]=10       ,  _snake_case			:					Optional[int]=10       ,  _snake_case			:					Tuple=1024       ,  _snake_case			:					Optional[Any]=128       ,  **_snake_case			:					Optional[Any]       ,  )->List[Any]:






   '''simple docstring'''

   super().__init__(**_snake_case      )

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






from math import isqrt






def 	_SCREAMING_SNAKE_CASE		(      SCREAMING_SNAKE_CASE		:int   )      ->   list[int]:
 __lowerCAmelCase					:	Tuple      =       [True] * max_number
 for i in range(2   ,   isqrt(max_number - 1   ) + 1   ):
  if is_prime[i]:
   for j in range(i**2   ,   SCREAMING_SNAKE_CASE   ,   SCREAMING_SNAKE_CASE   ):
    __lowerCAmelCase					:	Tuple      =       False

 return [i for i in range(2   ,   SCREAMING_SNAKE_CASE   ) if is_prime[i]]






def 	_SCREAMING_SNAKE_CASE		(      SCREAMING_SNAKE_CASE		:int = 10**8   )      ->   int:
 __lowerCAmelCase					:	int      =       calculate_prime_numbers(max_number // 2   )

 __lowerCAmelCase					:	List[Any]      =       0
 __lowerCAmelCase					:	List[str]      =       0
 __lowerCAmelCase					:	List[Any]      =       len(SCREAMING_SNAKE_CASE   ) - 1
 while left <= right:
  while prime_numbers[left] * prime_numbers[right] >= max_number:
   right -= 1
  semiprimes_count += right - left + 1
  left += 1

 return semiprimes_count


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