

import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


A__						=							logging.get_logger(__name__)

class 				__UpperCamelCase				(					SCREAMING_SNAKE_CASE			):







	def __init__(   self: Dict  , *__UpperCamelCase: List[Any]  , **__UpperCamelCase: List[Any]      ):

						'''simple docstring'''





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







from typing import TYPE_CHECKING

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


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


try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						A__						=							[
						    "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

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




