"""simple docstring"""







from typing import TYPE_CHECKING

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


__SCREAMING_SNAKE_CASE    	={"configuration_van": ["VAN_PRETRAINED_CONFIG_ARCHIVE_MAP", "VanConfig"]}


try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __SCREAMING_SNAKE_CASE    	=[
           "VAN_PRETRAINED_MODEL_ARCHIVE_LIST",
           "VanForImageClassification",
           "VanModel",
           "VanPreTrainedModel",
       ]

if TYPE_CHECKING:
       from .configuration_van import VAN_PRETRAINED_CONFIG_ARCHIVE_MAP, VanConfig

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_van import (
                  VAN_PRETRAINED_MODEL_ARCHIVE_LIST,
                  VanForImageClassification,
                  VanModel,
                  VanPreTrainedModel,
              )

else:
       import sys

       __SCREAMING_SNAKE_CASE    	=_LazyModule(__name__, globals()["__file__"], _import_structure)


"""simple docstring"""







import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


__SCREAMING_SNAKE_CASE    	=logging.get_logger(__name__)







class        UpperCamelCase		(			lowercase_  ):
   def __init__(			self     ,*__UpperCamelCase     ,**__UpperCamelCase			)	->      None:


        '''simple docstring'''


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

