


'''simple docstring'''

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


lowerCamelCase							:   Dict  						=	logging.get_logger(__name__)

lowerCamelCase							:   Any  						=	{
    'unc-nlp/lxmert-base-uncased': 'https://huggingface.co/unc-nlp/lxmert-base-uncased/resolve/main/config.json',
}
class   __lowerCAmelCase						(lowercase_     ):





      '''simple docstring'''






      lowerCAmelCase__					:     List[str]  					=							"""lxmert"""
      lowerCAmelCase__					:     Tuple  					=							{}



      def __init__(self    :    Union[str, Any]   ,						UpperCamelCase    :    int=30522   ,						UpperCamelCase    :    Optional[Any]=768   ,						UpperCamelCase    :    Optional[int]=12   ,						UpperCamelCase    :    List[Any]=9500   ,						UpperCamelCase    :    Tuple=1600   ,						UpperCamelCase    :    List[Any]=400   ,						UpperCamelCase    :    Dict=3072   ,						UpperCamelCase    :    Tuple="gelu"   ,						UpperCamelCase    :    Any=0.1   ,						UpperCamelCase    :    Any=0.1   ,						UpperCamelCase    :    str=512   ,						UpperCamelCase    :    Union[str, Any]=2   ,						UpperCamelCase    :    int=0.02   ,						UpperCamelCase    :    str=1E-12   ,						UpperCamelCase    :    List[str]=9   ,						UpperCamelCase    :    Dict=5   ,						UpperCamelCase    :    Optional[int]=5   ,						UpperCamelCase    :    str=2048   ,						UpperCamelCase    :    Optional[int]=4   ,						UpperCamelCase    :    Optional[int]=6.67   ,						UpperCamelCase    :    Union[str, Any]=True   ,						UpperCamelCase    :    Dict=True   ,						UpperCamelCase    :    Tuple=True   ,						UpperCamelCase    :    Union[str, Any]=True   ,						UpperCamelCase    :    List[Any]=True   ,						UpperCamelCase    :    str=True   ,						UpperCamelCase    :    List[str]=True   ,						**UpperCamelCase    :    int   ,						):

             '''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__(**UpperCamelCase )








'''simple docstring'''

def _SCREAMING_SNAKE_CASE      (A       )       ->       int:






       """simple docstring"""







       if not isinstance(A  , A       ):
              raise TypeError('''only integers accepted as input'''       )
       else:
              lowercase__      			= str(abs(A       )       )
              lowercase__      			= [list(A       ) for char in range(len(A       )       )]
              for index in range(len(A       )       ):
                     num_transpositions[index].pop(A       )
              return max(
                  int(''''''.join(list(A       )       )       ) for transposition in num_transpositions       )


if __name__ == "__main__":
 __import__('doctest').testmod()




