






'''simple docstring'''

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


UpperCamelCase      					=logging.get_logger(__name__)

UpperCamelCase      					={
    "microsoft/cvt-13": "https://huggingface.co/microsoft/cvt-13/resolve/main/config.json",
    # See all Cvt models at https://huggingface.co/models?filter=cvt
}




class      A     (   SCREAMING_SNAKE_CASE__    ):






 """simple docstring"""





 __a      :    Tuple			  =    '''cvt'''
 def __init__(				self      ,  __lowerCAmelCase=3      ,  __lowerCAmelCase=[7, 3, 3]      ,  __lowerCAmelCase=[4, 2, 2]      ,  __lowerCAmelCase=[2, 1, 1]      ,  __lowerCAmelCase=[64, 1_92, 3_84]      ,  __lowerCAmelCase=[1, 3, 6]      ,  __lowerCAmelCase=[1, 2, 10]      ,  __lowerCAmelCase=[4.0, 4.0, 4.0]      ,  __lowerCAmelCase=[0.0, 0.0, 0.0]      ,  __lowerCAmelCase=[0.0, 0.0, 0.0]      ,  __lowerCAmelCase=[0.0, 0.0, 0.1]      ,  __lowerCAmelCase=[True, True, True]      ,  __lowerCAmelCase=[False, False, True]      ,  __lowerCAmelCase=["dw_bn", "dw_bn", "dw_bn"]      ,  __lowerCAmelCase=[3, 3, 3]      ,  __lowerCAmelCase=[1, 1, 1]      ,  __lowerCAmelCase=[2, 2, 2]      ,  __lowerCAmelCase=[1, 1, 1]      ,  __lowerCAmelCase=[1, 1, 1]      ,  __lowerCAmelCase=0.02      ,  __lowerCAmelCase=1E-12      ,  **__lowerCAmelCase      ,  ):
       super().__init__(**__lowerCAmelCase			)
       UpperCamelCase_					: int            =				num_channels
       UpperCamelCase_					: Union[str, Any]            =				patch_sizes
       UpperCamelCase_					: Tuple            =				patch_stride
       UpperCamelCase_					: List[Any]            =				patch_padding
       UpperCamelCase_					: Dict            =				embed_dim
       UpperCamelCase_					: Tuple            =				num_heads
       UpperCamelCase_					: Tuple            =				depth
       UpperCamelCase_					: Tuple            =				mlp_ratio
       UpperCamelCase_					: str            =				attention_drop_rate
       UpperCamelCase_					: str            =				drop_rate
       UpperCamelCase_					: str            =				drop_path_rate
       UpperCamelCase_					: str            =				qkv_bias
       UpperCamelCase_					: Optional[int]            =				cls_token
       UpperCamelCase_					: List[Any]            =				qkv_projection_method
       UpperCamelCase_					: List[str]            =				kernel_qkv
       UpperCamelCase_					: Optional[Any]            =				padding_kv
       UpperCamelCase_					: Union[str, Any]            =				stride_kv
       UpperCamelCase_					: Optional[int]            =				padding_q
       UpperCamelCase_					: List[Any]            =				stride_q
       UpperCamelCase_					: Optional[Any]            =				initializer_range
       UpperCamelCase_					: Union[str, Any]            =				layer_norm_eps














'''simple docstring'''

from __future__ import annotations

from math import pi, sqrt



def 				snake_case       (  a_				:			float     , a_				:			float						)							->					tuple:





      """simple docstring"""

      if inductance <= 0:
            raise ValueError("""Inductance cannot be 0 or negative"""						)

      elif capacitance <= 0:
            raise ValueError("""Capacitance cannot be 0 or negative"""						)

      else:
            return (
                "Resonant frequency",
                float(1 / (2 * pi * (sqrt(inductance * capacitance						)))						),
            )


if __name__ == "__main__":
      import doctest

      doctest.testmod()






