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


__lowerCAmelCase    :	int						=						logging.get_logger(__name__)

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


class   __lowerCAmelCase		(		lowercase__					):



      """simple docstring"""







      A__		:	Tuple         =			"""mgp-str"""




      def __init__(					self						:				Union[str, Any] ,				_snake_case						:				int=[32, 128] ,				_snake_case						:				int=4 ,				_snake_case						:				Union[str, Any]=3 ,				_snake_case						:				Any=27 ,				_snake_case						:				Tuple=38 ,				_snake_case						:				Tuple=5_0257 ,				_snake_case						:				Union[str, Any]=3_0522 ,				_snake_case						:				List[str]=768 ,				_snake_case						:				Any=12 ,				_snake_case						:				Any=12 ,				_snake_case						:				Optional[Any]=4.0 ,				_snake_case						:				Optional[int]=True ,				_snake_case						:				List[str]=False ,				_snake_case						:				str=1E-5 ,				_snake_case						:				Optional[Any]=0.0 ,				_snake_case						:				Dict=0.0 ,				_snake_case						:				Any=0.0 ,				_snake_case						:				Dict=False ,				_snake_case						:				Dict=0.02 ,				**_snake_case						:				Optional[int] ,				):
          super().__init__(**lowercase_ )

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




"""simple docstring"""





def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float(moles / volume  ) * nfactor  )







def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float((moles * 0.0821 * temperature) / (volume)  )  )







def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float((moles * 0.0821 * temperature) / (pressure)  )  )







def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float((pressure * volume) / (0.0821 * moles)  )  )


if __name__ == "__main__":
    import doctest

    doctest.testmod()


