






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


__UpperCamelCase					:		Optional[Any]	  =						logging.get_logger(__name__)

__UpperCamelCase					:		List[Any]	  =						{
    """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   __SCREAMING_SNAKE_CASE(	a_	):
							_UpperCAmelCase     =       "deit"
							def __init__(     self:      List[Any]       ,	UpperCamelCase:      Any=7_68       ,	UpperCamelCase:      List[Any]=12       ,	UpperCamelCase:      Any=12       ,	UpperCamelCase:      int=30_72       ,	UpperCamelCase:      Dict="gelu"       ,	UpperCamelCase:      List[str]=0.0       ,	UpperCamelCase:      Union[str, Any]=0.0       ,	UpperCamelCase:      Any=0.02       ,	UpperCamelCase:      Any=1e-12       ,	UpperCamelCase:      Union[str, Any]=2_24       ,	UpperCamelCase:      str=16       ,	UpperCamelCase:      int=3       ,	UpperCamelCase:      Any=True       ,	UpperCamelCase:      Dict=16       ,	**UpperCamelCase:      List[str]       ,	)		->		Dict:
											super().__init__(**UpperCamelCase						)

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


class   __SCREAMING_SNAKE_CASE(	a_	):
							_UpperCAmelCase     =       version.parse("1.11"	)
							@property
							def lowerCAmelCase_ (     self:      List[str]						)		->		Mapping[str, Mapping[int, str]]:
											return OrderedDict(
											    [
											        ('pixel_values', {0: 'batch', 1: 'num_channels', 2: 'height', 3: 'width'}),
											    ]						)


							@property
							def lowerCAmelCase_ (     self:      List[Any]						)		->		float:
											return 1e-4












def      a_ (      _A      ,   _A  )			->			float:







				"""simple docstring"""
				if digit_amount > 0:
								return round(number - int(_A  )      ,   _A  )
				return number - int(_A  )


if __name__ == "__main__":
							print(decimal_isolate(1.5_3, 0))
							print(decimal_isolate(3_5.3_4_5, 1))
							print(decimal_isolate(3_5.3_4_5, 2))
							print(decimal_isolate(3_5.3_4_5, 3))
							print(decimal_isolate(-1_4.7_8_9, 3))
							print(decimal_isolate(0, 2))
							print(decimal_isolate(-1_4.1_2_3, 1))
							print(decimal_isolate(-1_4.1_2_3, 2))
							print(decimal_isolate(-1_4.1_2_3, 3))




