






from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


__a   :							Tuple						= {
    "configuration_falcon": ["FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP", "FalconConfig"],
}

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  __a   :							List[str]						= [
      "FALCON_PRETRAINED_MODEL_ARCHIVE_LIST",
      "FalconForCausalLM",
      "FalconModel",
      "FalconPreTrainedModel",
      "FalconForSequenceClassification",
      "FalconForTokenClassification",
      "FalconForQuestionAnswering",
  ]


if TYPE_CHECKING:
  from .configuration_falcon import FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP, FalconConfig

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_falcon import (
        FALCON_PRETRAINED_MODEL_ARCHIVE_LIST,
        FalconForCausalLM,
        FalconForQuestionAnswering,
        FalconForSequenceClassification,
        FalconForTokenClassification,
        FalconModel,
        FalconPreTrainedModel,
    )


else:
  import sys

  __a   :							str						= _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)












import warnings

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


__a   :							Any						= logging.get_logger(__name__)


class    __lowercase   (						lowercase_	):







     '''simple docstring'''




     def __init__(					self							:      Union[str, Any]			,						*UpperCamelCase_							:      Tuple			,						**UpperCamelCase_							:      Tuple					):


         """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_					)




