
'''simple docstring'''







def  snake_case_		(    __SCREAMING_SNAKE_CASE :			str = "The quick brown fox jumps over the lazy dog"				,				):



						"""simple docstring"""





						lowercase_     :					Any													=	set()

						# Replace all the whitespace in our sentence
						lowercase_     :					List[Any]													=	input_str.replace(''' '''				,				''''''							)
						for alpha in input_str:
												if "a" <= alpha.lower() <= "z":
																		frequency.add(alpha.lower()							)
						return len(lowerCamelCase_							) == 26
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			str = "The quick brown fox jumps over the lazy dog"				,				):



						"""simple docstring"""





						lowercase_     :					List[str]													=	[False] * 26
						for char in input_str:
												if char.islower():
																		lowercase_     :					Union[str, Any]													=	True
												elif char.isupper():
																		lowercase_     :					str													=	True
						return all(lowerCamelCase_							)
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			str = "The quick brown fox jumps over the lazy dog"				,				):



						"""simple docstring"""





						return len({char for char in input_str.lower() if char.isalpha()}							) == 26
def  snake_case_		(    ):



						"""simple docstring"""





						from timeit import timeit

						lowercase_     :					Optional[Any]													=	'''from __main__ import is_pangram, is_pangram_faster, is_pangram_fastest'''
						print(timeit('''is_pangram()'''				,				setup=lowerCamelCase_							)							)
						print(timeit('''is_pangram_faster()'''				,				setup=lowerCamelCase_							)							)
						print(timeit('''is_pangram_fastest()'''				,				setup=lowerCamelCase_							)							)
						# 5.348480500048026, 2.6477354579837993, 1.8470395830227062
						# 5.036091582966037, 2.644472333951853,  1.8869528750656173


if __name__ == "__main__":
							import doctest

							doctest.testmod()
							benchmark()





'''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


_lowercase			:  List[Any]   							=	logging.get_logger(__name__)

_lowercase			:  Optional[Any]   							=	{
    "google/vit-base-patch16-224": "https://huggingface.co/vit-base-patch16-224/resolve/main/config.json",
    # See all ViT models at https://huggingface.co/models?filter=vit
}






class 			lowerCAmelCase__       (  lowerCamelCase_					):
					lowerCAmelCase_					       =					'''vit'''






					def __init__(       self    ,							__SCREAMING_SNAKE_CASE=7_68    ,							__SCREAMING_SNAKE_CASE=12    ,							__SCREAMING_SNAKE_CASE=12    ,							__SCREAMING_SNAKE_CASE=30_72    ,							__SCREAMING_SNAKE_CASE="gelu"    ,							__SCREAMING_SNAKE_CASE=0.0    ,							__SCREAMING_SNAKE_CASE=0.0    ,							__SCREAMING_SNAKE_CASE=0.02    ,							__SCREAMING_SNAKE_CASE=1E-1_2    ,							__SCREAMING_SNAKE_CASE=2_24    ,							__SCREAMING_SNAKE_CASE=16    ,							__SCREAMING_SNAKE_CASE=3    ,							__SCREAMING_SNAKE_CASE=True    ,							__SCREAMING_SNAKE_CASE=16    ,							**__SCREAMING_SNAKE_CASE    ,							):


											"""simple docstring"""





											super().__init__(**__SCREAMING_SNAKE_CASE		)

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







class 			lowerCAmelCase__       (  lowerCamelCase_					):
					lowerCAmelCase_					       =					version.parse('''1.11'''					)






					@property
					def      _snake_case   (       self		):


											"""simple docstring"""





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






					@property
					def      _snake_case   (       self		):


											"""simple docstring"""





											return 1E-4



