
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__lowerCAmelCase    :	Union[str, Any]						=						{
    "configuration_xmod": [
        "XMOD_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "XmodConfig",
        "XmodOnnxConfig",
    ],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 __lowerCAmelCase    :	Any						=						[
     "XMOD_PRETRAINED_MODEL_ARCHIVE_LIST",
     "XmodForCausalLM",
     "XmodForMaskedLM",
     "XmodForMultipleChoice",
     "XmodForQuestionAnswering",
     "XmodForSequenceClassification",
     "XmodForTokenClassification",
     "XmodModel",
     "XmodPreTrainedModel",
 ]

if TYPE_CHECKING:
 from .configuration_xmod import XMOD_PRETRAINED_CONFIG_ARCHIVE_MAP, XmodConfig, XmodOnnxConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_xmod import (
      XMOD_PRETRAINED_MODEL_ARCHIVE_LIST,
      XmodForCausalLM,
      XmodForMaskedLM,
      XmodForMultipleChoice,
      XmodForQuestionAnswering,
      XmodForSequenceClassification,
      XmodForTokenClassification,
      XmodModel,
      XmodPreTrainedModel,
  )

else:
 import sys

 __lowerCAmelCase    :	Dict						=						_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)




"""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()


