






'''simple docstring'''

from collections import OrderedDict
from typing import Mapping

from packaging import version

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


SCREAMING_SNAKE_CASE__											=     logging.get_logger(__name__)

SCREAMING_SNAKE_CASE__											=     {
    'facebook/deit-base-distilled-patch16-224': (
        'https://huggingface.co/facebook/deit-base-patch16-224/resolve/main/config.json'
    ),
    # See all DeiT models at https://huggingface.co/models?filter=deit
}






class        a_		(    lowerCamelCase       ):
  lowercase  	=   """deit"""

  def __init__(   self    ,	_SCREAMING_SNAKE_CASE=768    ,	_SCREAMING_SNAKE_CASE=12    ,	_SCREAMING_SNAKE_CASE=12    ,	_SCREAMING_SNAKE_CASE=3072    ,	_SCREAMING_SNAKE_CASE="gelu"    ,	_SCREAMING_SNAKE_CASE=0.0    ,	_SCREAMING_SNAKE_CASE=0.0    ,	_SCREAMING_SNAKE_CASE=0.0_2    ,	_SCREAMING_SNAKE_CASE=1e-12    ,	_SCREAMING_SNAKE_CASE=224    ,	_SCREAMING_SNAKE_CASE=16    ,	_SCREAMING_SNAKE_CASE=3    ,	_SCREAMING_SNAKE_CASE=True    ,	_SCREAMING_SNAKE_CASE=16    ,	**_SCREAMING_SNAKE_CASE    ,	)						->   Optional[int]:



        """simple docstring"""






        super().__init__(**_SCREAMING_SNAKE_CASE   )

        UpperCamelCase       						=      hidden_size
        UpperCamelCase       						=      num_hidden_layers
        UpperCamelCase       						=      num_attention_heads
        UpperCamelCase       						=      intermediate_size
        UpperCamelCase       						=      hidden_act
        UpperCamelCase       						=      hidden_dropout_prob
        UpperCamelCase       						=      attention_probs_dropout_prob
        UpperCamelCase       						=      initializer_range
        UpperCamelCase       						=      layer_norm_eps
        UpperCamelCase       						=      image_size
        UpperCamelCase       						=      patch_size
        UpperCamelCase       						=      num_channels
        UpperCamelCase       						=      qkv_bias
        UpperCamelCase       						=      encoder_stride






class        a_		(    lowerCamelCase       ):
  lowercase  	=   version.parse("""1.11"""       )

  @property
  def 						A__		(   self   )						->   Mapping[str, Mapping[int, str]]:



        """simple docstring"""






        return OrderedDict(
            [
                ("""pixel_values""", {0: """batch""", 1: """num_channels""", 2: """height""", 3: """width"""}),
            ]   )


  @property
  def 						A__		(   self   )						->   float:



        """simple docstring"""






        return 1e-4








'''simple docstring'''

from typing import TYPE_CHECKING

from ...utils import _LazyModule


SCREAMING_SNAKE_CASE__											=     {'tokenization_wav2vec2_phoneme': ['Wav2Vec2PhonemeCTCTokenizer']}


if TYPE_CHECKING:
     from .tokenization_wavaveca_phoneme import WavaVecaPhonemeCTCTokenizer
else:
     import sys

     SCREAMING_SNAKE_CASE__											=     _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)
