
import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


snake_case 				=       logging.get_logger(__name__)





class 				A_				(      lowercase__	):







       """simple docstring"""





       def __init__(    self	:	Tuple						,*__A	:	Optional[int]						,**__A	:	Optional[int]  )						->					Optional[int]:
         warnings.warn(
             'The class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
             ' Please use LayoutLMv2ImageProcessor instead.'						,__A						,)
         super().__init__(*__A						,**__A  )






snake_case 				=       8.3_144_598

def 							SCREAMING_SNAKE_CASE__       (  snake_case__  :float			,							snake_case__  :float     )      ->						float:
  if temperature < 0:
    raise Exception('Temperature cannot be less than 0 K'     )
  if molar_mass <= 0:
    raise Exception('Molar mass cannot be less than or equal to 0 kg/mol'     )
  else:
    return (3 * UNIVERSAL_GAS_CONSTANT * temperature / molar_mass) ** 0.5


if __name__ == "__main__":
      import doctest

      # run doctest
      doctest.testmod()

      # example
      snake_case 				=       3_0_0
      snake_case 				=       2_8
      snake_case 				=       rms_speed_of_molecule(temperature, molar_mass)
      print(F"""Vrms of Nitrogen gas at 300 K is {vrms} m/s""")