
'''simple docstring'''







from typing import TYPE_CHECKING

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


_snake_case				:   str     =				{
    """configuration_mega""": ["""MEGA_PRETRAINED_CONFIG_ARCHIVE_MAP""", """MegaConfig""", """MegaOnnxConfig"""],
}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						_snake_case				:   Tuple     =				[
						    """MEGA_PRETRAINED_MODEL_ARCHIVE_LIST""",
						    """MegaForCausalLM""",
						    """MegaForMaskedLM""",
						    """MegaForMultipleChoice""",
						    """MegaForQuestionAnswering""",
						    """MegaForSequenceClassification""",
						    """MegaForTokenClassification""",
						    """MegaModel""",
						    """MegaPreTrainedModel""",
						]

if TYPE_CHECKING:
						from .configuration_mega import MEGA_PRETRAINED_CONFIG_ARCHIVE_MAP, MegaConfig, MegaOnnxConfig

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_mega import (
												    MEGA_PRETRAINED_MODEL_ARCHIVE_LIST,
												    MegaForCausalLM,
												    MegaForMaskedLM,
												    MegaForMultipleChoice,
												    MegaForQuestionAnswering,
												    MegaForSequenceClassification,
												    MegaForTokenClassification,
												    MegaModel,
												    MegaPreTrainedModel,
												)

else:
						import sys

						_snake_case				:   Tuple     =				_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)

'''simple docstring'''







import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


_snake_case				:   List[Any]     =				logging.get_logger(__name__)


class 			lowerCAmelCase (				__UpperCAmelCase			):




		def __init__(				self					,						*UpperCamelCase					,						**UpperCamelCase      ):
								warnings.warn(
								    "The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
								    " use DPTImageProcessor instead."					,						UpperCamelCase					,						)
								super().__init__(*UpperCamelCase					,						**UpperCamelCase      )