


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


_SCREAMING_SNAKE_CASE      :			List[str]      				=   logging.get_logger(__name__)

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

class   A__ (   snake_case__     ):







    """simple docstring"""

    __magic_name__        =		'audio-spectrogram-transformer'
    def __init__(	self      , __snake_case=7_6_8      , __snake_case=1_2      , __snake_case=1_2      , __snake_case=3_0_7_2      , __snake_case="gelu"      , __snake_case=0.0      , __snake_case=0.0      , __snake_case=0.02      , __snake_case=1E-12      , __snake_case=1_6      , __snake_case=True      , __snake_case=1_0      , __snake_case=1_0      , __snake_case=1_0_2_4      , __snake_case=1_2_8      , **__snake_case      , ):
         super().__init__(**__snake_case   )

         snake_case					=    hidden_size
         snake_case					=    num_hidden_layers
         snake_case					=    num_attention_heads
         snake_case					=    intermediate_size
         snake_case					=    hidden_act
         snake_case					=    hidden_dropout_prob
         snake_case					=    attention_probs_dropout_prob
         snake_case					=    initializer_range
         snake_case					=    layer_norm_eps
         snake_case					=    patch_size
         snake_case					=    qkv_bias
         snake_case					=    frequency_stride
         snake_case					=    time_stride
         snake_case					=    max_length
         snake_case					=    num_mel_bins








from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


_SCREAMING_SNAKE_CASE      :			Dict      				=   {"configuration_van": ["VAN_PRETRAINED_CONFIG_ARCHIVE_MAP", "VanConfig"]}


try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 _SCREAMING_SNAKE_CASE      :			Dict      				=   [
     "VAN_PRETRAINED_MODEL_ARCHIVE_LIST",
     "VanForImageClassification",
     "VanModel",
     "VanPreTrainedModel",
 ]

if TYPE_CHECKING:
 from .configuration_van import VAN_PRETRAINED_CONFIG_ARCHIVE_MAP, VanConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_van import (
      VAN_PRETRAINED_MODEL_ARCHIVE_LIST,
      VanForImageClassification,
      VanModel,
      VanPreTrainedModel,
  )

else:
 import sys

 _SCREAMING_SNAKE_CASE      :			str      				=   _LazyModule(__name__, globals()["__file__"], _import_structure)




