
"""simple docstring"""
from ...configuration_utils import PretrainedConfig
from ...utils import logging


_a      :			int					=							logging.get_logger(__name__)

_a      :			Union[str, Any]					=							{
    """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      _UpperCAmelCase				(					UpperCamelCase_):
				__lowercase							: Any  =					"""vit_msn"""
				def __init__(    self						,    snake_case_=7_68						,    snake_case_=12						,    snake_case_=12						,    snake_case_=30_72						,    snake_case_="gelu"						,    snake_case_=0.0						,    snake_case_=0.0						,    snake_case_=0.02						,    snake_case_=1E-06						,    snake_case_=2_24						,    snake_case_=16						,    snake_case_=3						,    snake_case_=True						,    **snake_case_						,    ):
						super().__init__(**__a     )

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



"""simple docstring"""
def 				a__   (   a   :				list       ,     a   :				int       ,     a   :				int = 0       ,     a   :				int = 0		):

  """simple docstring"""







  _snake_case     :						Optional[int]						=   right or len(a		) - 1
  if left > right:
    return -1
  elif list_data[left] == key:
    return left
  elif list_data[right] == key:
    return right
  else:
    return search(a       ,     a       ,     left + 1       ,     right - 1		)


if __name__ == "__main__":
    import doctest

    doctest.testmod()

