




'''simple docstring'''





# Function to print upper half of diamond (pyramid)



def      UpperCamelCase_(	snake_case							:       List[Any]     ):

							'''simple docstring'''






							for i in range(0							,				lowercase_     ):
														for _ in range(0							,				n - i - 1     ):  # printing spaces
																					print(" "							,				end=""     )
														for _ in range(0							,				i + 1     ):  # printing stars
																					print("* "							,				end=""     )
														print()


def      UpperCamelCase_(	snake_case							:       Tuple     ):

							'''simple docstring'''






							for i in range(lowercase_							,				0							,				-1     ):
														for _ in range(lowercase_							,				0							,				-1     ):  # printing stars
																					print("* "							,				end=""     )
														print()
														for _ in range(n - i + 1							,				0							,				-1     ):  # printing spaces
																					print(" "							,				end=""     )


def      UpperCamelCase_(	snake_case							:       Optional[Any]     ):

							'''simple docstring'''






							if n <= 0:
														print("       ...       ....        nothing printing :("     )
														return
							floyd(lowercase_     )  # upper half
							reverse_floyd(lowercase_     )  # lower half


if __name__ == "__main__":
		print(r"| /\ | |- |  |-  |--| |\  /| |-")
		print(r"|/  \| |- |_ |_  |__| | \/ | |_")
		_SCREAMING_SNAKE_CASE							:   Optional[Any]      		= 1
		while K:
				_SCREAMING_SNAKE_CASE							:   int      		= int(input("enter the number and , and see the magic : "))
				print()
				pretty_print(user_number)
				_SCREAMING_SNAKE_CASE							:   str      		= int(input("press 0 to exit... and 1 to continue..."))

		print("Good Bye...")







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


A_       : int         =			logging.get_logger(__name__)

A_       : Optional[Any]         =			{
    'alibaba-damo/mgp-str-base': 'https://huggingface.co/alibaba-damo/mgp-str-base/resolve/main/config.json',
}



class     _a						(__magic_name__				):


					'''simple docstring'''






					UpperCAmelCase__:   List[Any]  							=       '''mgp-str'''






					def __init__( self    ,       A__=[32, 128]    ,       A__=4    ,       A__=3    ,       A__=27    ,       A__=38    ,       A__=5_0257    ,       A__=3_0522    ,       A__=768    ,       A__=12    ,       A__=12    ,       A__=4.0    ,       A__=True    ,       A__=False    ,       A__=1e-5    ,       A__=0.0    ,       A__=0.0    ,       A__=0.0    ,       A__=False    ,       A__=0.0_2    ,       **A__    ,       ):
						super().__init__(**A__			)

						A__							:    Dict        =		image_size
						A__							:    int        =		patch_size
						A__							:    Dict        =		num_channels
						A__							:    List[Any]        =		max_token_length
						A__							:    str        =		num_character_labels
						A__							:    Tuple        =		num_bpe_labels
						A__							:    Optional[Any]        =		num_wordpiece_labels
						A__							:    Optional[int]        =		hidden_size
						A__							:    Tuple        =		num_hidden_layers
						A__							:    Any        =		num_attention_heads
						A__							:    List[Any]        =		mlp_ratio
						A__							:    Tuple        =		distilled
						A__							:    Union[str, Any]        =		layer_norm_eps
						A__							:    Tuple        =		drop_rate
						A__							:    List[str]        =		qkv_bias
						A__							:    Optional[Any]        =		attn_drop_rate
						A__							:    Union[str, Any]        =		drop_path_rate
						A__							:    Optional[Any]        =		output_aa_attentions
						A__							:    Optional[int]        =		initializer_range



