


"""simple docstring"""


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


A     :   Tuple			    =			logging.get_logger(__name__)

A     :   Dict			    =			{
    "unc-nlp/lxmert-base-uncased": "https://huggingface.co/unc-nlp/lxmert-base-uncased/resolve/main/config.json",
}
class   _UpperCamelCase  (   _a		):
							'''simple docstring'''







							__UpperCAmelCase						:    Optional[Any]				      ="""lxmert"""
							__UpperCAmelCase						:    str				      ={}

							def __init__(     self    ,   __a=3_05_22    ,   __a=7_68    ,   __a=12    ,   __a=95_00    ,   __a=16_00    ,   __a=4_00    ,   __a=30_72    ,   __a="gelu"    ,   __a=0.1    ,   __a=0.1    ,   __a=5_12    ,   __a=2    ,   __a=0.0_2    ,   __a=1e-1_2    ,   __a=9    ,   __a=5    ,   __a=5    ,   __a=20_48    ,   __a=4    ,   __a=6.6_7    ,   __a=True    ,   __a=True    ,   __a=True    ,   __a=True    ,   __a=True    ,   __a=True    ,   __a=True    ,   **__a    ,   ):
										__lowerCAmelCase				    =			vocab_size
										__lowerCAmelCase				    =			hidden_size
										__lowerCAmelCase				    =			num_attention_heads
										__lowerCAmelCase				    =			hidden_act
										__lowerCAmelCase				    =			intermediate_size
										__lowerCAmelCase				    =			hidden_dropout_prob
										__lowerCAmelCase				    =			attention_probs_dropout_prob
										__lowerCAmelCase				    =			max_position_embeddings
										__lowerCAmelCase				    =			type_vocab_size
										__lowerCAmelCase				    =			initializer_range
										__lowerCAmelCase				    =			layer_norm_eps
										__lowerCAmelCase				    =			num_qa_labels
										__lowerCAmelCase				    =			num_object_labels
										__lowerCAmelCase				    =			num_attr_labels
										__lowerCAmelCase				    =			l_layers
										__lowerCAmelCase				    =			x_layers
										__lowerCAmelCase				    =			r_layers
										__lowerCAmelCase				    =			visual_feat_dim
										__lowerCAmelCase				    =			visual_pos_dim
										__lowerCAmelCase				    =			visual_loss_normalizer
										__lowerCAmelCase				    =			task_matched
										__lowerCAmelCase				    =			task_mask_lm
										__lowerCAmelCase				    =			task_obj_predict
										__lowerCAmelCase				    =			task_qa
										__lowerCAmelCase				    =			visual_obj_loss
										__lowerCAmelCase				    =			visual_attr_loss
										__lowerCAmelCase				    =			visual_feat_loss
										__lowerCAmelCase				    =			{"vision": r_layers, "cross_encoder": x_layers, "language": l_layers}
										super().__init__(**__UpperCAmelCase	)








"""simple docstring"""







def      lowercase			(				A_  ,   A_       )->      float:
  '''simple docstring'''







  if mass < 0:
    raise ValueError("The mass of a body cannot be negative"       )
  return 0.5 * mass * abs(A_       ) * abs(A_       )


if __name__ == "__main__":
 import doctest

 doctest.testmod(verbose=True)






