

'''simple docstring'''






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowerCAmelCase__   		=      {
    '''configuration_swinv2''': ['''SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''Swinv2Config'''],
}


try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 lowerCAmelCase__   		=      [
     '''SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST''',
     '''Swinv2ForImageClassification''',
     '''Swinv2ForMaskedImageModeling''',
     '''Swinv2Model''',
     '''Swinv2PreTrainedModel''',
 ]


if TYPE_CHECKING:
 from .configuration_swinva import SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP, SwinvaConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_swinva import (
      SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST,
      SwinvaForImageClassification,
      SwinvaForMaskedImageModeling,
      SwinvaModel,
      SwinvaPreTrainedModel,
  )


else:
 import sys

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





import warnings

from ...utils import logging
from .image_processing_mobilevit import MobileViTImageProcessor


lowerCamelCase		   =			logging.get_logger(__name__)




class A    (  UpperCamelCase_	):






      def __init__(   self		:	Optional[Any]     ,  *lowercase_		:	str     ,  **lowercase_		:	List[Any]					)   ->		None:
             """simple docstring"""




             warnings.warn(
                 'The class MobileViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
                 ' Please use MobileViTImageProcessor instead.'     ,  lowercase_     ,  )
             super().__init__(*lowercase_     ,  **lowercase_					)


