


"""simple docstring"""







import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


a__       :							Union[str, Any]        =  logging.get_logger(__name__)




class 				UpperCamelCase_			(				__lowerCAmelCase):




	def __init__(				self    :       Dict    ,    *UpperCAmelCase__    :       Union[str, Any]    ,    **UpperCAmelCase__    :       Optional[Any]     ) ->			None:
						warnings.warn(
						    "The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
						    " Please use SegformerImageProcessor instead."    ,    lowerCamelCase__    ,    )
						super().__init__(*lowerCamelCase__    ,    **lowerCamelCase__     )




"""simple docstring"""







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


a__       :							List[str]        =  {}


try:
		if not is_sentencepiece_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		a__       :							int        =  ['''MLukeTokenizer''']

if TYPE_CHECKING:
		try:
				if not is_sentencepiece_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .tokenization_mluke import MLukeTokenizer


else:
		import sys

		a__       :							Optional[Any]        =  _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)
