

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        A_		(       SCREAMING_SNAKE_CASE				):
							_UpperCAmelCase    :  Optional[int]						      =      '''audio-spectrogram-transformer'''
							def __init__(		self		:			Union[str, Any]   ,SCREAMING_SNAKE_CASE__		:			int=7_6_8   ,SCREAMING_SNAKE_CASE__		:			Any=1_2   ,SCREAMING_SNAKE_CASE__		:			Union[str, Any]=1_2   ,SCREAMING_SNAKE_CASE__		:			str=3_0_7_2   ,SCREAMING_SNAKE_CASE__		:			List[Any]="gelu"   ,SCREAMING_SNAKE_CASE__		:			Dict=0.0   ,SCREAMING_SNAKE_CASE__		:			List[str]=0.0   ,SCREAMING_SNAKE_CASE__		:			Dict=0.02   ,SCREAMING_SNAKE_CASE__		:			Optional[Any]=1E-12   ,SCREAMING_SNAKE_CASE__		:			List[str]=1_6   ,SCREAMING_SNAKE_CASE__		:			Any=True   ,SCREAMING_SNAKE_CASE__		:			Optional[int]=1_0   ,SCREAMING_SNAKE_CASE__		:			Optional[Any]=1_0   ,SCREAMING_SNAKE_CASE__		:			Optional[Any]=1_0_2_4   ,SCREAMING_SNAKE_CASE__		:			Union[str, Any]=1_2_8   ,**SCREAMING_SNAKE_CASE__		:			Any   ,):
								super().__init__(**SCREAMING_SNAKE_CASE__)

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










import warnings

from ...utils import logging
from .image_processing_glpn import GLPNImageProcessor


lowerCamelCase				:		Union[str, Any]     =   logging.get_logger(__name__)







class   A(						UpperCamelCase   ):



 '''simple docstring'''


 def __init__(				self					:  int						,							*A_					:  str						,							**A_					:  Optional[int]  )   ->	None:

       """simple docstring"""






       warnings.warn(
           'The class GLPNFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
           ' use GLPNImageProcessor instead.'						,							A_						,							)
       super().__init__(*A_						,							**A_  )



