



import baseaa






def      lowerCAmelCase__		(   lowerCamelCase_		:		str):





				'''simple docstring'''

				return baseaa.baaencode(string.encode('''utf-8'''))






def      lowerCAmelCase__		(   lowerCamelCase_		:		bytes):





				'''simple docstring'''

				return baseaa.baadecode(lowerCamelCase_).decode('''utf-8''')


if __name__ == "__main__":
							__snake_case    :		Tuple  ='Hello World!'
							__snake_case    :		Optional[int]  =baseaa_encode(test)
							print(encoded)

							__snake_case    :		List[str]  =baseaa_decode(encoded)
							print(decoded)






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


__snake_case    :		Any  =logging.get_logger(__name__)

__snake_case    :		Tuple  ={
    'sayakpaul/vit-msn-base': 'https://huggingface.co/sayakpaul/vit-msn-base/resolve/main/config.json',
    # See all ViT MSN models at https://huggingface.co/models?filter=vit_msn
}



class 	lowerCamelCase__      (							lowerCamelCase__):




		'''simple docstring'''



		snake_case_     ="""vit_msn"""



		def __init__(self		,__lowerCamelCase=7_68		,__lowerCamelCase=12		,__lowerCamelCase=12		,__lowerCamelCase=30_72		,__lowerCamelCase="gelu"		,__lowerCamelCase=0.0		,__lowerCamelCase=0.0		,__lowerCamelCase=0.02		,__lowerCamelCase=1e-06		,__lowerCamelCase=2_24		,__lowerCamelCase=16		,__lowerCamelCase=3		,__lowerCamelCase=True		,**__lowerCamelCase		,)					->      Any:

						"""simple docstring"""






						super().__init__(**__lowerCamelCase			)

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

