



"""simple docstring"""







def       _lowerCamelCase				(							UpperCAmelCase_ :       str = "The quick brown fox jumps over the lazy dog",	)	-> bool:






	"""simple docstring"""





	A__											=					set()

	# Replace all the whitespace in our sentence
	A__											=					input_str.replace(" ",	""     )
	for alpha in input_str:
		if "a" <= alpha.lower() <= "z":
			frequency.add(alpha.lower()     )
	return len(UpperCAmelCase_     ) == 26

def       _lowerCamelCase				(							UpperCAmelCase_ :       str = "The quick brown fox jumps over the lazy dog",	)	-> bool:






	"""simple docstring"""





	A__											=					[False] * 26
	for char in input_str:
		if char.islower():
			A__											=					True
		elif char.isupper():
			A__											=					True
	return all(UpperCAmelCase_     )

def       _lowerCamelCase				(							UpperCAmelCase_ :       str = "The quick brown fox jumps over the lazy dog",	)	-> bool:






	"""simple docstring"""





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

def       _lowerCamelCase				(							)	-> None:






	"""simple docstring"""





	from timeit import timeit

	A__											=					"from __main__ import is_pangram, is_pangram_faster, is_pangram_fastest"
	print(timeit("is_pangram()",	setup=UpperCAmelCase_     )     )
	print(timeit("is_pangram_faster()",	setup=UpperCAmelCase_     )     )
	print(timeit("is_pangram_fastest()",	setup=UpperCAmelCase_     )     )
	# 5.348480500048026, 2.6477354579837993, 1.8470395830227062
	# 5.036091582966037, 2.644472333951853,  1.8869528750656173


if __name__ == "__main__":
			import doctest

			doctest.testmod()
			benchmark()










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


UpperCamelCase__ :   Any						=							logging.get_logger(__name__)

UpperCamelCase__ :   Any						=							{
    '''Visual-Attention-Network/van-base''': (
        '''https://huggingface.co/Visual-Attention-Network/van-base/blob/main/config.json'''
    ),
}







class 				lowerCAmelCase_       (					lowerCamelCase_							):
				__a     :       List[Any]						=     "van"






				def __init__(			self      ,snake_case__=224      ,snake_case__=3      ,snake_case__=[7, 3, 3, 3]      ,snake_case__=[4, 2, 2, 2]      ,snake_case__=[64, 128, 320, 512]      ,snake_case__=[3, 3, 12, 3]      ,snake_case__=[8, 8, 4, 4]      ,snake_case__="gelu"      ,snake_case__=0.02      ,snake_case__=1E-6      ,snake_case__=1E-2      ,snake_case__=0.0      ,snake_case__=0.0      ,**snake_case__      ,):
							super().__init__(**snake_case__ )
							SCREAMING_SNAKE_CASE_   : Tuple					  =      image_size
							SCREAMING_SNAKE_CASE_   : List[str]					  =      num_channels
							SCREAMING_SNAKE_CASE_   : Dict					  =      patch_sizes
							SCREAMING_SNAKE_CASE_   : str					  =      strides
							SCREAMING_SNAKE_CASE_   : str					  =      hidden_sizes
							SCREAMING_SNAKE_CASE_   : str					  =      depths
							SCREAMING_SNAKE_CASE_   : Optional[Any]					  =      mlp_ratios
							SCREAMING_SNAKE_CASE_   : Optional[int]					  =      hidden_act
							SCREAMING_SNAKE_CASE_   : Optional[int]					  =      initializer_range
							SCREAMING_SNAKE_CASE_   : Optional[int]					  =      layer_norm_eps
							SCREAMING_SNAKE_CASE_   : int					  =      layer_scale_init_value
							SCREAMING_SNAKE_CASE_   : Union[str, Any]					  =      drop_path_rate
							SCREAMING_SNAKE_CASE_   : List[str]					  =      dropout_rate



