





from ..utils import DummyObject, requires_backends



class    _SCREAMING_SNAKE_CASE						(	metaclass=__SCREAMING_SNAKE_CASE    ):







 '''simple docstring'''
 lowercase_		=			["torch", "transformers", "onnx"]

 def __init__(self				:   Union[str, Any]       , *UpperCAmelCase_				:   Optional[Any]       , **UpperCAmelCase_				:   Dict)       ->Dict:



   '''simple docstring'''



   requires_backends(self       , ["torch", "transformers", "onnx"])

 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Optional[Any]       , *UpperCAmelCase_				:   Optional[int]       , **UpperCAmelCase_				:   str)       ->Any:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])







 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   List[Any]       , *UpperCAmelCase_				:   Optional[Any]       , **UpperCAmelCase_				:   Optional[Any])       ->Union[str, Any]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])



class    _SCREAMING_SNAKE_CASE						(	metaclass=__SCREAMING_SNAKE_CASE    ):







 '''simple docstring'''
 lowercase_		=			["torch", "transformers", "onnx"]

 def __init__(self				:   List[str]       , *UpperCAmelCase_				:   Union[str, Any]       , **UpperCAmelCase_				:   Optional[int])       ->Any:



   '''simple docstring'''



   requires_backends(self       , ["torch", "transformers", "onnx"])

 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Tuple       , *UpperCAmelCase_				:   Optional[Any]       , **UpperCAmelCase_				:   Any)       ->List[str]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])







 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Union[str, Any]       , *UpperCAmelCase_				:   int       , **UpperCAmelCase_				:   int)       ->Optional[Any]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])



class    _SCREAMING_SNAKE_CASE						(	metaclass=__SCREAMING_SNAKE_CASE    ):







 '''simple docstring'''
 lowercase_		=			["torch", "transformers", "onnx"]

 def __init__(self				:   Optional[Any]       , *UpperCAmelCase_				:   Any       , **UpperCAmelCase_				:   int)       ->int:



   '''simple docstring'''



   requires_backends(self       , ["torch", "transformers", "onnx"])

 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Dict       , *UpperCAmelCase_				:   str       , **UpperCAmelCase_				:   List[Any])       ->Union[str, Any]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])







 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Tuple       , *UpperCAmelCase_				:   str       , **UpperCAmelCase_				:   List[Any])       ->str:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])



class    _SCREAMING_SNAKE_CASE						(	metaclass=__SCREAMING_SNAKE_CASE    ):







 '''simple docstring'''
 lowercase_		=			["torch", "transformers", "onnx"]

 def __init__(self				:   Dict       , *UpperCAmelCase_				:   Dict       , **UpperCAmelCase_				:   Optional[int])       ->Union[str, Any]:



   '''simple docstring'''



   requires_backends(self       , ["torch", "transformers", "onnx"])

 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Optional[Any]       , *UpperCAmelCase_				:   Tuple       , **UpperCAmelCase_				:   List[str])       ->int:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])







 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Dict       , *UpperCAmelCase_				:   str       , **UpperCAmelCase_				:   str)       ->List[str]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])



class    _SCREAMING_SNAKE_CASE						(	metaclass=__SCREAMING_SNAKE_CASE    ):







 '''simple docstring'''
 lowercase_		=			["torch", "transformers", "onnx"]

 def __init__(self				:   int       , *UpperCAmelCase_				:   str       , **UpperCAmelCase_				:   Optional[int])       ->Dict:



   '''simple docstring'''



   requires_backends(self       , ["torch", "transformers", "onnx"])

 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   str       , *UpperCAmelCase_				:   int       , **UpperCAmelCase_				:   Optional[int])       ->List[str]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])







 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Optional[Any]       , *UpperCAmelCase_				:   str       , **UpperCAmelCase_				:   Dict)       ->Union[str, Any]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])



class    _SCREAMING_SNAKE_CASE						(	metaclass=__SCREAMING_SNAKE_CASE    ):







 '''simple docstring'''
 lowercase_		=			["torch", "transformers", "onnx"]

 def __init__(self				:   Dict       , *UpperCAmelCase_				:   Tuple       , **UpperCAmelCase_				:   Tuple)       ->Dict:



   '''simple docstring'''



   requires_backends(self       , ["torch", "transformers", "onnx"])

 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   Dict       , *UpperCAmelCase_				:   str       , **UpperCAmelCase_				:   Tuple)       ->Union[str, Any]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])







 @classmethod
 def 							SCREAMING_SNAKE_CASE_					(cls				:   str       , *UpperCAmelCase_				:   str       , **UpperCAmelCase_				:   int)       ->Optional[int]:



   '''simple docstring'''



   requires_backends(cls       , ["torch", "transformers", "onnx"])









"""simple docstring"""


import warnings

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


lowercase_				     =     logging.get_logger(__name__)


class 					snake_case		(							_lowerCAmelCase						):


   '''simple docstring'''

   def __init__(	self :     Optional[int],       *_lowerCamelCase :     Union[str, Any],       **_lowerCamelCase :     Dict  ):

     '''simple docstring'''
     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  )




