code: 
  
  """simple docstring"""
  
  
  
  
  from typing import TYPE_CHECKING
  
  from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available
  
  
  lowercase__  :					Dict												=	{'configuration_levit': ['LEVIT_PRETRAINED_CONFIG_ARCHIVE_MAP', 'LevitConfig', 'LevitOnnxConfig']}
  
  try:
  	if not is_vision_available():
  		raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
  	pass
  else:
  	lowercase__  :					Union[str, Any]												=	['LevitFeatureExtractor']
  	lowercase__  :					str												=	['LevitImageProcessor']
  
  try:
  	if not is_torch_available():
  		raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
  	pass
  else:
  	lowercase__  :					str												=	[
  	    'LEVIT_PRETRAINED_MODEL_ARCHIVE_LIST',
  	    'LevitForImageClassification',
  	    'LevitForImageClassificationWithTeacher',
  	    'LevitModel',
  	    'LevitPreTrainedModel',
  	]
  
  
  if TYPE_CHECKING:
  	from .configuration_levit import LEVIT_PRETRAINED_CONFIG_ARCHIVE_MAP, LevitConfig, LevitOnnxConfig
  
  	try:
  		if not is_vision_available():
  			raise OptionalDependencyNotAvailable()
  	except OptionalDependencyNotAvailable:
  		pass
  	else:
  		from .feature_extraction_levit import LevitFeatureExtractor
  		from .image_processing_levit import LevitImageProcessor
  
  	try:
  		if not is_torch_available():
  			raise OptionalDependencyNotAvailable()
  	except OptionalDependencyNotAvailable:
  		pass
  	else:
  		from .modeling_levit import (
  		    LEVIT_PRETRAINED_MODEL_ARCHIVE_LIST,
  		    LevitForImageClassification,
  		    LevitForImageClassificationWithTeacher,
  		    LevitModel,
  		    LevitPreTrainedModel,
  		)
  else:
  	import sys
  
  	lowercase__  :					List[str]												=	_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)
  
  
  
  
  
  
style_context: 
  
  """simple docstring"""
  
  
  
  
  from typing import TYPE_CHECKING
  
  from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available, is_torch_available
  
  
  __A  :					int												=	{
      'configuration_nystromformer': ['NYSTROMFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP', 'NystromformerConfig'],
  }
  
  try:
  	if not is_torch_available():
  		raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
  	pass
  else:
  	__A  :					Any												=	[
  	    'NYSTROMFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
  	    'NystromformerForMaskedLM',
  	    'NystromformerForMultipleChoice',
  	    'NystromformerForQuestionAnswering',
  	    'NystromformerForSequenceClassification',
  	    'NystromformerForTokenClassification',
  	    'NystromformerLayer',
  	    'NystromformerModel',
  	    'NystromformerPreTrainedModel',
  	]
  
  
  if TYPE_CHECKING:
  	from .configuration_nystromformer import NYSTROMFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, NystromformerConfig
  
  	try:
  		if not is_torch_available():
  			raise OptionalDependencyNotAvailable()
  	except OptionalDependencyNotAvailable:
  		pass
  	else:
  		from .modeling_nystromformer import (
  		    NYSTROMFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
  		    NystromformerForMaskedLM,
  		    NystromformerForMultipleChoice,
  		    NystromformerForQuestionAnswering,
  		    NystromformerForSequenceClassification,
  		    NystromformerForTokenClassification,
  		    NystromformerLayer,
  		    NystromformerModel,
  		    NystromformerPreTrainedModel,
  		)
  
  
  else:
  	import sys
  
  	__A  :					Optional[Any]												=	_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)
  
  
  
  
  
  