




'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


snake_case__          =						logging.get_logger(__name__)






class     UpperCamelCase_     (a__     ):







						"""simple docstring"""


						def __init__(     self      :       Dict							, *_lowerCamelCase      :       Dict							, **_lowerCamelCase      :       Any    ):





											"""simple docstring"""







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









'''simple docstring'''




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


snake_case__          =						{"""configuration_nat""": ["""NAT_PRETRAINED_CONFIG_ARCHIVE_MAP""", """NatConfig"""]}


try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							snake_case__          =						[
							    """NAT_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """NatForImageClassification""",
							    """NatModel""",
							    """NatPreTrainedModel""",
							    """NatBackbone""",
							]

if TYPE_CHECKING:
							from .configuration_nat import NAT_PRETRAINED_CONFIG_ARCHIVE_MAP, NatConfig

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_nat import (
														    NAT_PRETRAINED_MODEL_ARCHIVE_LIST,
														    NatBackbone,
														    NatForImageClassification,
														    NatModel,
														    NatPreTrainedModel,
														)

else:
							import sys

							snake_case__          =						_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)



