


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


UpperCAmelCase_      :		int          =		logging.get_logger(__name__)

UpperCAmelCase_      :		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 					a			(				snake_case__  ):
 '''simple docstring'''




 __lowerCAmelCase						: Union[str, Any]							  =		"""vit"""




 def __init__(    self		,      lowerCamelCase_=7_6_8		,      lowerCamelCase_=1_2		,      lowerCamelCase_=1_2		,      lowerCamelCase_=3_0_7_2		,      lowerCamelCase_="gelu"		,      lowerCamelCase_=0.0		,      lowerCamelCase_=0.0		,      lowerCamelCase_=0.02		,      lowerCamelCase_=1e-12		,      lowerCamelCase_=2_2_4		,      lowerCamelCase_=1_6		,      lowerCamelCase_=3		,      lowerCamelCase_=True		,      lowerCamelCase_=1_6		,      **lowerCamelCase_		,      )      ->    Tuple:
    super().__init__(**lowerCamelCase_      )

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







class 					a			(				snake_case__  ):
 '''simple docstring'''




 __lowerCAmelCase						: Any							  =		version.parse("""1.11"""  )




 @property
 def   __UpperCamelCase   (    self      )      ->    Mapping[str, Mapping[int, str]]:
    return OrderedDict(
        [
            ('pixel_values', {0: 'batch', 1: 'num_channels', 2: 'height', 3: 'width'}),
        ]      )




 @property
 def   __UpperCamelCase   (    self      )      ->    float:
    return 1e-4






'''simple docstring'''




def    UpperCAmelCase_  (       A		,	A      ):
   '''simple docstring'''





   return "\n".join(
       f'''{number} * {i} = {number * i}''' for i in range(1		,	number_of_terms + 1      )      )


if __name__ == "__main__":
 print(multiplication_table(number=5, number_of_terms=10))


