




from typing import List

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


snake_case__			:    Any			     =      logging.get_logger(__name__)

snake_case__			:    List[str]			     =      {
    '''snap-research/efficientformer-l1-300''': (
        '''https://huggingface.co/snap-research/efficientformer-l1-300/resolve/main/config.json'''
    ),
}





class      snake_case	(						lowerCAmelCase__				):


   '''simple docstring'''







   UpperCamelCase__						:							Tuple 	=   "efficientformer"




   def __init__(       self  :						str    ,     lowerCamelCase_  :						Optional[Any] = [3, 2, 6, 4]    ,     lowerCamelCase_  :						Union[str, Any] = [48, 96, 224, 448]    ,     lowerCamelCase_  :						int = [True, True, True, True]    ,     lowerCamelCase_  :						Optional[Any] = 448    ,     lowerCamelCase_  :						Dict = 32    ,     lowerCamelCase_  :						Dict = 4    ,     lowerCamelCase_  :						str = 7    ,     lowerCamelCase_  :						Union[str, Any] = 5    ,     lowerCamelCase_  :						List[str] = 8    ,     lowerCamelCase_  :						Any = 4    ,     lowerCamelCase_  :						int = 0.0    ,     lowerCamelCase_  :						Union[str, Any] = 16    ,     lowerCamelCase_  :						Any = 3    ,     lowerCamelCase_  :						List[Any] = 3    ,     lowerCamelCase_  :						Any = 3    ,     lowerCamelCase_  :						int = 2    ,     lowerCamelCase_  :						str = 1    ,     lowerCamelCase_  :						Tuple = 0.0    ,     lowerCamelCase_  :						str = 1    ,     lowerCamelCase_  :						Union[str, Any] = True    ,     lowerCamelCase_  :						Tuple = True    ,     lowerCamelCase_  :						List[Any] = 1E-5    ,     lowerCamelCase_  :						Any = "gelu"    ,     lowerCamelCase_  :						Union[str, Any] = 0.02    ,     lowerCamelCase_  :						Optional[Any] = 1E-12    ,     lowerCamelCase_  :						Tuple = 224    ,     lowerCamelCase_  :						int = 1E-05    ,     **lowerCamelCase_  :						int    ,     )       ->Tuple:
     '''simple docstring'''







     super().__init__(**_lowerCamelCase      )

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







"""simple docstring"""
from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
from .squad import SquadExample, SquadFeatures, SquadVaProcessor, SquadVaProcessor, squad_convert_examples_to_features
from .utils import DataProcessor, InputExample, InputFeatures, SingleSentenceClassificationProcessor
from .xnli import xnli_output_modes, xnli_processors, xnli_tasks_num_labels

