



from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_tokenizers_available,
    is_torch_available,
)


__lowerCAmelCase     =			{
    "configuration_mpnet": ["MPNET_PRETRAINED_CONFIG_ARCHIVE_MAP", "MPNetConfig"],
    "tokenization_mpnet": ["MPNetTokenizer"],
}

try:
				if not is_tokenizers_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCAmelCase     =			["MPNetTokenizerFast"]

try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCAmelCase     =			[
				    "MPNET_PRETRAINED_MODEL_ARCHIVE_LIST",
				    "MPNetForMaskedLM",
				    "MPNetForMultipleChoice",
				    "MPNetForQuestionAnswering",
				    "MPNetForSequenceClassification",
				    "MPNetForTokenClassification",
				    "MPNetLayer",
				    "MPNetModel",
				    "MPNetPreTrainedModel",
				]

try:
				if not is_tf_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCAmelCase     =			[
				    "TF_MPNET_PRETRAINED_MODEL_ARCHIVE_LIST",
				    "TFMPNetEmbeddings",
				    "TFMPNetForMaskedLM",
				    "TFMPNetForMultipleChoice",
				    "TFMPNetForQuestionAnswering",
				    "TFMPNetForSequenceClassification",
				    "TFMPNetForTokenClassification",
				    "TFMPNetMainLayer",
				    "TFMPNetModel",
				    "TFMPNetPreTrainedModel",
				]


if TYPE_CHECKING:
				from .configuration_mpnet import MPNET_PRETRAINED_CONFIG_ARCHIVE_MAP, MPNetConfig
				from .tokenization_mpnet import MPNetTokenizer

				try:
								if not is_tokenizers_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .tokenization_mpnet_fast import MPNetTokenizerFast

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_mpnet import (
								    MPNET_PRETRAINED_MODEL_ARCHIVE_LIST,
								    MPNetForMaskedLM,
								    MPNetForMultipleChoice,
								    MPNetForQuestionAnswering,
								    MPNetForSequenceClassification,
								    MPNetForTokenClassification,
								    MPNetLayer,
								    MPNetModel,
								    MPNetPreTrainedModel,
								)

				try:
								if not is_tf_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_tf_mpnet import (
								    TF_MPNET_PRETRAINED_MODEL_ARCHIVE_LIST,
								    TFMPNetEmbeddings,
								    TFMPNetForMaskedLM,
								    TFMPNetForMultipleChoice,
								    TFMPNetForQuestionAnswering,
								    TFMPNetForSequenceClassification,
								    TFMPNetForTokenClassification,
								    TFMPNetMainLayer,
								    TFMPNetModel,
								    TFMPNetPreTrainedModel,
								)

else:
				import sys

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












def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 9 / 5) + 3_2 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round(float(_lowercase       ) + 273.15 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 9 / 5) + 491.67 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) - 3_2) * 5 / 9 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round(((float(_lowercase       ) - 3_2) * 5 / 9) + 273.15 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round(float(_lowercase       ) + 459.67 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round(float(_lowercase       ) - 273.15 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round(((float(_lowercase       ) - 273.15) * 9 / 5) + 3_2 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 9 / 5) ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) - 491.67) * 5 / 9 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round(float(_lowercase       ) - 459.67 ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 5 / 9) ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 1.25 + 273.15) ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 2.25 + 3_2) ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 1.25) ,						_lowercase       )

def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
		return round((float(_lowercase       ) * 2.25 + 3_2 + 459.67) ,						_lowercase       )


if __name__ == "__main__":
				import doctest

				doctest.testmod()





