





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


_snake_case           =					logging.get_logger(__name__)

_snake_case           =					{
    """unc-nlp/lxmert-base-uncased""": """https://huggingface.co/unc-nlp/lxmert-base-uncased/resolve/main/config.json""",
}





class    lowerCAmelCase				(  lowercase_   ):
  __lowerCamelCase						=     'lxmert'
  __lowerCamelCase						=     {}







  def __init__(     self    :Tuple       ,				_lowercase    :Union[str, Any]=3_05_22       ,				_lowercase    :Any=7_68       ,				_lowercase    :List[Any]=12       ,				_lowercase    :List[Any]=95_00       ,				_lowercase    :Optional[int]=16_00       ,				_lowercase    :Any=4_00       ,				_lowercase    :Any=30_72       ,				_lowercase    :Tuple="gelu"       ,				_lowercase    :List[str]=0.1       ,				_lowercase    :str=0.1       ,				_lowercase    :Tuple=5_12       ,				_lowercase    :List[str]=2       ,				_lowercase    :str=0.02       ,				_lowercase    :Tuple=1e-12       ,				_lowercase    :Optional[int]=9       ,				_lowercase    :str=5       ,				_lowercase    :Dict=5       ,				_lowercase    :Tuple=20_48       ,				_lowercase    :str=4       ,				_lowercase    :int=6.67       ,				_lowercase    :Union[str, Any]=True       ,				_lowercase    :Optional[int]=True       ,				_lowercase    :Tuple=True       ,				_lowercase    :List[Any]=True       ,				_lowercase    :List[Any]=True       ,				_lowercase    :Optional[int]=True       ,				_lowercase    :List[str]=True       ,				**_lowercase    :Optional[Any]       ,				):






     '''simple docstring'''





     lowercase__					  =    vocab_size
     lowercase__					  =    hidden_size
     lowercase__					  =    num_attention_heads
     lowercase__					  =    hidden_act
     lowercase__					  =    intermediate_size
     lowercase__					  =    hidden_dropout_prob
     lowercase__					  =    attention_probs_dropout_prob
     lowercase__					  =    max_position_embeddings
     lowercase__					  =    type_vocab_size
     lowercase__					  =    initializer_range
     lowercase__					  =    layer_norm_eps
     lowercase__					  =    num_qa_labels
     lowercase__					  =    num_object_labels
     lowercase__					  =    num_attr_labels
     lowercase__					  =    l_layers
     lowercase__					  =    x_layers
     lowercase__					  =    r_layers
     lowercase__					  =    visual_feat_dim
     lowercase__					  =    visual_pos_dim
     lowercase__					  =    visual_loss_normalizer
     lowercase__					  =    task_matched
     lowercase__					  =    task_mask_lm
     lowercase__					  =    task_obj_predict
     lowercase__					  =    task_qa
     lowercase__					  =    visual_obj_loss
     lowercase__					  =    visual_attr_loss
     lowercase__					  =    visual_feat_loss
     lowercase__					  =    {"vision": r_layers, "cross_encoder": x_layers, "language": l_layers}
     super().__init__(**_lowercase   )










'''simple docstring'''


# Function to print upper half of diamond (pyramid)


def 		_lowercase (SCREAMING_SNAKE_CASE							):




     '''simple docstring'''





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


def 		_lowercase (SCREAMING_SNAKE_CASE							):




     '''simple docstring'''





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


def 		_lowercase (SCREAMING_SNAKE_CASE							):




     '''simple docstring'''





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


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

      print("""Good Bye...""")

