






"""simple docstring"""



import warnings

from ...utils import logging
from .image_processing_deformable_detr import DeformableDetrImageProcessor


A__       :				Tuple 					=					logging.get_logger(__name__)







class    lowercase__			(							snake_case__   ):


			def __init__(      self     :  Dict   ,       *snake_case__     :  Tuple   ,       **snake_case__     :  Optional[Any]					):
										warnings.warn(
										    "The class DeformableDetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
										    " Please use DeformableDetrImageProcessor instead."   ,       __lowerCamelCase   ,       )
										super().__init__(*__lowerCamelCase   ,       **__lowerCamelCase					)







from typing import TYPE_CHECKING

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


lowerCAmelCase__      		= {'configuration_speech_encoder_decoder': ['SpeechEncoderDecoderConfig']}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    lowerCAmelCase__      		= ['SpeechEncoderDecoderModel']

try:
    if not is_flax_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    lowerCAmelCase__      		= ['FlaxSpeechEncoderDecoderModel']

if TYPE_CHECKING:
    from .configuration_speech_encoder_decoder import SpeechEncoderDecoderConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_speech_encoder_decoder import SpeechEncoderDecoderModel

    try:
        if not is_flax_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_flax_speech_encoder_decoder import FlaxSpeechEncoderDecoderModel

else:
    import sys

    lowerCAmelCase__      		= _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)
