





'''simple docstring'''


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


_SCREAMING_SNAKE_CASE	 =							logging.get_logger(__name__)

_SCREAMING_SNAKE_CASE	 =							{
    "alibaba-damo/mgp-str-base": "https://huggingface.co/alibaba-damo/mgp-str-base/resolve/main/config.json",
}

class    lowerCAmelCase_		(		__UpperCAmelCase		):

 '''simple docstring'''





 __lowerCamelCase						:							List[Any]         =					"mgp-str"




 def __init__(	self			,     _lowerCAmelCase=[32, 128]			,     _lowerCAmelCase=4			,     _lowerCAmelCase=3			,     _lowerCAmelCase=27			,     _lowerCAmelCase=38			,     _lowerCAmelCase=50257			,     _lowerCAmelCase=30522			,     _lowerCAmelCase=768			,     _lowerCAmelCase=12			,     _lowerCAmelCase=12			,     _lowerCAmelCase=4.0			,     _lowerCAmelCase=True			,     _lowerCAmelCase=False			,     _lowerCAmelCase=1E-5			,     _lowerCAmelCase=0.0			,     _lowerCAmelCase=0.0			,     _lowerCAmelCase=0.0			,     _lowerCAmelCase=False			,     _lowerCAmelCase=0.02			,     **_lowerCAmelCase			,     )    ->							Optional[Any]:
     super().__init__(**lowerCAmelCase_		)

     _lowerCAmelCase				=      image_size
     _lowerCAmelCase				=      patch_size
     _lowerCAmelCase				=      num_channels
     _lowerCAmelCase				=      max_token_length
     _lowerCAmelCase				=      num_character_labels
     _lowerCAmelCase				=      num_bpe_labels
     _lowerCAmelCase				=      num_wordpiece_labels
     _lowerCAmelCase				=      hidden_size
     _lowerCAmelCase				=      num_hidden_layers
     _lowerCAmelCase				=      num_attention_heads
     _lowerCAmelCase				=      mlp_ratio
     _lowerCAmelCase				=      distilled
     _lowerCAmelCase				=      layer_norm_eps
     _lowerCAmelCase				=      drop_rate
     _lowerCAmelCase				=      qkv_bias
     _lowerCAmelCase				=      attn_drop_rate
     _lowerCAmelCase				=      drop_path_rate
     _lowerCAmelCase				=      output_aa_attentions
     _lowerCAmelCase				=      initializer_range









'''simple docstring'''


from __future__ import annotations


def 	__a(SCREAMING_SNAKE_CASE_  :					list[float]		,       SCREAMING_SNAKE_CASE_  :					list[float]    ):



    '''simple docstring'''





    _lowerCAmelCase				=      sorted(numsa + numsa    )
    _lowerCAmelCase			,			_lowerCAmelCase				=      divmod(len(SCREAMING_SNAKE_CASE_    )		,       2    )
    if mod == 1:
        return all_numbers[div]
    else:
        return (all_numbers[div] + all_numbers[div - 1]) / 2


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       _SCREAMING_SNAKE_CASE	 =							[float(x) for x in input("Enter the elements of first array: ").split()]
       _SCREAMING_SNAKE_CASE	 =							[float(x) for x in input("Enter the elements of second array: ").split()]
       print(f'''The median of two arrays is: {median_of_two_arrays(array_a, array_a)}''')


