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


__lowercase										= logging.get_logger(__name__)

__lowercase										= {
    '''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_							(       A_			):






    '''simple docstring'''






    a__     :						Dict      =				"""audio-spectrogram-transformer"""







    def __init__(     self			,			__lowercase=768			,			__lowercase=12			,			__lowercase=12			,			__lowercase=3_072			,			__lowercase="gelu"			,			__lowercase=0.0			,			__lowercase=0.0			,			__lowercase=0.02			,			__lowercase=1E-1_2			,			__lowercase=16			,			__lowercase=True			,			__lowercase=10			,			__lowercase=10			,			__lowercase=1_024			,			__lowercase=128			,			**__lowercase			,			)	->     Any:
        super().__init__(**_lowerCamelCase)

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






from __future__ import annotations



def lowerCamelCase  (       SCREAMING_SNAKE_CASE  ,      SCREAMING_SNAKE_CASE  ,      SCREAMING_SNAKE_CASE  ,      ):
    '''simple docstring'''







    if (stress, tangential_force, area).count(0     ) != 1:
        raise ValueError('''You cannot supply more or less than 2 values'''     )
    elif stress < 0:
        raise ValueError('''Stress cannot be negative'''     )
    elif tangential_force < 0:
        raise ValueError('''Tangential Force cannot be negative'''     )
    elif area < 0:
        raise ValueError('''Area cannot be negative'''     )
    elif stress == 0:
        return (
            "stress",
            tangential_force / area,
        )
    elif tangential_force == 0:
        return (
            "tangential_force",
            stress * area,
        )
    else:
        return (
            "area",
            tangential_force / stress,
        )


if __name__ == "__main__":
    import doctest

    doctest.testmod()





