code: 
  
  
  
  from typing import TYPE_CHECKING
  
  from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available
  
  
  __lowerCAmelCase     =			{
      """configuration_flava""": [
          """FLAVA_PRETRAINED_CONFIG_ARCHIVE_MAP""",
          """FlavaConfig""",
          """FlavaImageCodebookConfig""",
          """FlavaImageConfig""",
          """FlavaMultimodalConfig""",
          """FlavaTextConfig""",
      ],
  }
  
  try:
  				if not is_vision_available():
  								raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
  				pass
  else:
  				__lowerCAmelCase     =			["""FlavaFeatureExtractor"""]
  				__lowerCAmelCase     =			["""FlavaImageProcessor"""]
  				__lowerCAmelCase     =			["""FlavaProcessor"""]
  
  try:
  				if not is_torch_available():
  								raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
  				pass
  else:
  				__lowerCAmelCase     =			[
  				    """FLAVA_PRETRAINED_MODEL_ARCHIVE_LIST""",
  				    """FlavaForPreTraining""",
  				    """FlavaImageCodebook""",
  				    """FlavaImageModel""",
  				    """FlavaModel""",
  				    """FlavaMultimodalModel""",
  				    """FlavaPreTrainedModel""",
  				    """FlavaTextModel""",
  				]
  
  if TYPE_CHECKING:
  				from .configuration_flava import (
  				    FLAVA_PRETRAINED_CONFIG_ARCHIVE_MAP,
  				    FlavaConfig,
  				    FlavaImageCodebookConfig,
  				    FlavaImageConfig,
  				    FlavaMultimodalConfig,
  				    FlavaTextConfig,
  				)
  
  				try:
  								if not is_vision_available():
  												raise OptionalDependencyNotAvailable()
  				except OptionalDependencyNotAvailable:
  								pass
  				else:
  								from .feature_extraction_flava import FlavaFeatureExtractor
  								from .image_processing_flava import FlavaImageProcessor
  								from .processing_flava import FlavaProcessor
  
  				try:
  								if not is_torch_available():
  												raise OptionalDependencyNotAvailable()
  				except OptionalDependencyNotAvailable:
  								pass
  				else:
  								from .modeling_flava import (
  								    FLAVA_PRETRAINED_MODEL_ARCHIVE_LIST,
  								    FlavaForPreTraining,
  								    FlavaImageCodebook,
  								    FlavaImageModel,
  								    FlavaModel,
  								    FlavaMultimodalModel,
  								    FlavaPreTrainedModel,
  								    FlavaTextModel,
  								)
  
  else:
  				import sys
  
  				__lowerCAmelCase     =			_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
  
  
  
  
  
  
style_context: 
  
  
  
  
  
  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()
  
  
  
  
  
  