
def     a						(							snake_case__: int						,       snake_case__: int = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 9 / 5) + 32						,       snake_case__ )




def     a						(							snake_case__: Dict						,       snake_case__: Tuple = 2 ):


					'''simple docstring'''
					return round(float(snake_case__ ) + 273.15						,       snake_case__ )




def     a						(							snake_case__: str						,       snake_case__: Any = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 9 / 5) + 491.67						,       snake_case__ )




def     a						(							snake_case__: Union[str, Any]						,       snake_case__: Tuple = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) - 32) * 5 / 9						,       snake_case__ )




def     a						(							snake_case__: Union[str, Any]						,       snake_case__: List[Any] = 2 ):


					'''simple docstring'''
					return round(((float(snake_case__ ) - 32) * 5 / 9) + 273.15						,       snake_case__ )




def     a						(							snake_case__: Optional[Any]						,       snake_case__: str = 2 ):


					'''simple docstring'''
					return round(float(snake_case__ ) + 459.67						,       snake_case__ )




def     a						(							snake_case__: int						,       snake_case__: Any = 2 ):


					'''simple docstring'''
					return round(float(snake_case__ ) - 273.15						,       snake_case__ )




def     a						(							snake_case__: int						,       snake_case__: Any = 2 ):


					'''simple docstring'''
					return round(((float(snake_case__ ) - 273.15) * 9 / 5) + 32						,       snake_case__ )




def     a						(							snake_case__: Union[str, Any]						,       snake_case__: Optional[int] = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 9 / 5)						,       snake_case__ )




def     a						(							snake_case__: str						,       snake_case__: List[str] = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) - 491.67) * 5 / 9						,       snake_case__ )




def     a						(							snake_case__: Any						,       snake_case__: List[str] = 2 ):


					'''simple docstring'''
					return round(float(snake_case__ ) - 459.67						,       snake_case__ )




def     a						(							snake_case__: List[Any]						,       snake_case__: Union[str, Any] = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 5 / 9)						,       snake_case__ )




def     a						(							snake_case__: Optional[int]						,       snake_case__: Tuple = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 1.2_5 + 273.15)						,       snake_case__ )




def     a						(							snake_case__: Dict						,       snake_case__: List[str] = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 2.2_5 + 32)						,       snake_case__ )




def     a						(							snake_case__: Dict						,       snake_case__: int = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 1.2_5)						,       snake_case__ )




def     a						(							snake_case__: List[str]						,       snake_case__: Union[str, Any] = 2 ):


					'''simple docstring'''
					return round((float(snake_case__ ) * 2.2_5 + 32 + 459.67)						,       snake_case__ )


if __name__ == "__main__":
						import doctest

						doctest.testmod()






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


__a        = {
    'configuration_donut_swin': ['DONUT_SWIN_PRETRAINED_CONFIG_ARCHIVE_MAP', 'DonutSwinConfig'],
    'processing_donut': ['DonutProcessor'],
}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						__a        = [
						    'DONUT_SWIN_PRETRAINED_MODEL_ARCHIVE_LIST',
						    'DonutSwinModel',
						    'DonutSwinPreTrainedModel',
						]

try:
						if not is_vision_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						__a        = ['DonutFeatureExtractor']
						__a        = ['DonutImageProcessor']


if TYPE_CHECKING:
						from .configuration_donut_swin import DONUT_SWIN_PRETRAINED_CONFIG_ARCHIVE_MAP, DonutSwinConfig
						from .processing_donut import DonutProcessor

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_donut_swin import (
												    DONUT_SWIN_PRETRAINED_MODEL_ARCHIVE_LIST,
												    DonutSwinModel,
												    DonutSwinPreTrainedModel,
												)

						try:
												if not is_vision_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .feature_extraction_donut import DonutFeatureExtractor
												from .image_processing_donut import DonutImageProcessor

else:
						import sys

						__a        = _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




