

"""simple docstring"""





from typing import List

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


_a							=							logging.get_logger(__name__)

_a							=							{
    'snap-research/efficientformer-l1-300': (
        'https://huggingface.co/snap-research/efficientformer-l1-300/resolve/main/config.json'
    ),
}




class  _lowerCAmelCase  (     lowerCamelCase__       ):







 """simple docstring"""







 __UpperCAmelCase     : Union[str, Any]       		=     "efficientformer"


 def __init__(      self							:      List[str], UpperCAmelCase__							:      List[int] = [3, 2, 6, 4], UpperCAmelCase__							:      List[int] = [4_8, 9_6, 2_2_4, 4_4_8], UpperCAmelCase__							:      List[bool] = [True, True, True, True], UpperCAmelCase__							:      int = 4_4_8, UpperCAmelCase__							:      int = 3_2, UpperCAmelCase__							:      int = 4, UpperCAmelCase__							:      int = 7, UpperCAmelCase__							:      int = 5, UpperCAmelCase__							:      int = 8, UpperCAmelCase__							:      int = 4, UpperCAmelCase__							:      float = 0.0, UpperCAmelCase__							:      int = 1_6, UpperCAmelCase__							:      int = 3, UpperCAmelCase__							:      int = 3, UpperCAmelCase__							:      int = 3, UpperCAmelCase__							:      int = 2, UpperCAmelCase__							:      int = 1, UpperCAmelCase__							:      float = 0.0, UpperCAmelCase__							:      int = 1, UpperCAmelCase__							:      bool = True, UpperCAmelCase__							:      bool = True, UpperCAmelCase__							:      float = 1E-5, UpperCAmelCase__							:      str = "gelu", UpperCAmelCase__							:      float = 0.02, UpperCAmelCase__							:      float = 1E-12, UpperCAmelCase__							:      int = 2_2_4, UpperCAmelCase__							:      float = 1E-05, **UpperCAmelCase__							:      List[Any], ):
    super().__init__(**__snake_case     )

    __lowercase								=						hidden_act
    __lowercase								=						hidden_dropout_prob
    __lowercase								=						hidden_sizes
    __lowercase								=						num_hidden_layers
    __lowercase								=						num_attention_heads
    __lowercase								=						initializer_range
    __lowercase								=						layer_norm_eps
    __lowercase								=						patch_size
    __lowercase								=						num_channels
    __lowercase								=						depths
    __lowercase								=						mlp_expansion_ratio
    __lowercase								=						downsamples
    __lowercase								=						dim
    __lowercase								=						key_dim
    __lowercase								=						attention_ratio
    __lowercase								=						resolution
    __lowercase								=						pool_size
    __lowercase								=						downsample_patch_size
    __lowercase								=						downsample_stride
    __lowercase								=						downsample_pad
    __lowercase								=						drop_path_rate
    __lowercase								=						num_metaad_blocks
    __lowercase								=						distillation
    __lowercase								=						use_layer_scale
    __lowercase								=						layer_scale_init_value
    __lowercase								=						image_size
    __lowercase								=						batch_norm_eps





"""simple docstring"""





_a							=							[
    'DownloadConfig',
    'DownloadManager',
    'DownloadMode',
    'StreamingDownloadManager',
]

from .download_config import DownloadConfig
from .download_manager import DownloadManager, DownloadMode
from .streaming_download_manager import StreamingDownloadManager




