




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


lowerCamelCase	:	int				=   logging.get_logger(__name__)

lowerCamelCase	:	int				=   {
    '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 						__lowercase		(_lowerCamelCase							):




      """simple docstring"""





      _snake_case												=						"""deit"""

      def __init__(				self    ,				A=7_6_8    ,				A=1_2    ,				A=1_2    ,				A=3_0_7_2    ,				A="gelu"    ,				A=0.0    ,				A=0.0    ,				A=0.02    ,				A=1e-1_2    ,				A=2_2_4    ,				A=1_6    ,				A=3    ,				A=True    ,				A=1_6    ,				**A    ,				)		->    Union[str, Any]:
         super().__init__(**A     )

         snake_case				:    List[str]           =	hidden_size
         snake_case				:    int           =	num_hidden_layers
         snake_case				:    Union[str, Any]           =	num_attention_heads
         snake_case				:    int           =	intermediate_size
         snake_case				:    Any           =	hidden_act
         snake_case				:    Optional[int]           =	hidden_dropout_prob
         snake_case				:    Union[str, Any]           =	attention_probs_dropout_prob
         snake_case				:    Tuple           =	initializer_range
         snake_case				:    Optional[Any]           =	layer_norm_eps
         snake_case				:    Dict           =	image_size
         snake_case				:    Any           =	patch_size
         snake_case				:    str           =	num_channels
         snake_case				:    Union[str, Any]           =	qkv_bias
         snake_case				:    List[str]           =	encoder_stride




class 						__lowercase		(_lowerCamelCase							):




      """simple docstring"""





      _snake_case												=						version.parse("""1.11"""							)

      @property
      def      UpperCAmelCase				(				self     )		->    List[Any]:
         return OrderedDict(
             [
                 ("""pixel_values""", {0: """batch""", 1: """num_channels""", 2: """height""", 3: """width"""}),
             ]     )

      @property
      def      UpperCAmelCase				(				self     )		->    Dict:
         return 1e-4











def 						SCREAMING_SNAKE_CASE__ (   lowercase = 1000					)  ->       int:
   snake_case				:    Optional[int]           =	3
   snake_case				:    List[Any]           =	0
   while a < n:
      if a % 3 == 0 or a % 5 == 0:
         result += a
      elif a % 15 == 0:
         result -= a
      a += 1
   return result


if __name__ == "__main__":
       print(f"""{solution() = }""")





