
import warnings

from ...utils import logging
from .image_processing_detr import DetrImageProcessor


lowercase__							:							int													=     logging.get_logger(__name__)






class     SCREAMING_SNAKE_CASE__      (							SCREAMING_SNAKE_CASE__      ):

							"""simple docstring"""






							def __init__(					self       ,		*SCREAMING_SNAKE_CASE_       ,		**SCREAMING_SNAKE_CASE_     )->				None:





													'''simple docstring'''






													warnings.warn(
													    '''The class DetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
													    ''' Please use DetrImageProcessor instead.'''       ,		_UpperCAmelCase       ,		)
													super().__init__(*_UpperCAmelCase       ,		**_UpperCAmelCase     )






import torch

from transformers import PreTrainedModel

from .custom_configuration import CustomConfig, NoSuperInitConfig






class     SCREAMING_SNAKE_CASE__      (							SCREAMING_SNAKE_CASE_      ):

							"""simple docstring"""






							_snake_case       						=					CustomConfig



							def __init__(					self       ,		SCREAMING_SNAKE_CASE_     )->				Tuple:





													'''simple docstring'''






													super().__init__(SCREAMING_SNAKE_CASE_     )
													__UpperCamelCase       					=     torch.nn.Linear(config.hidden_size       ,		config.hidden_size     )



							def       A__						(					self       ,		SCREAMING_SNAKE_CASE_     )->				List[str]:





													'''simple docstring'''






													return self.linear(SCREAMING_SNAKE_CASE_     )



							def       A__						(					self       ,		SCREAMING_SNAKE_CASE_     )->				Any:





													'''simple docstring'''






													pass






class     SCREAMING_SNAKE_CASE__      (							SCREAMING_SNAKE_CASE_      ):

							"""simple docstring"""






							_snake_case       						=					NoSuperInitConfig



							def __init__(					self       ,		SCREAMING_SNAKE_CASE_     )->				Tuple:





													'''simple docstring'''






													super().__init__(SCREAMING_SNAKE_CASE_     )
													__UpperCamelCase       					=     torch.nn.Linear(config.attribute       ,		config.attribute     )



							def       A__						(					self       ,		SCREAMING_SNAKE_CASE_     )->				List[str]:





													'''simple docstring'''






													return self.linear(SCREAMING_SNAKE_CASE_     )



							def       A__						(					self       ,		SCREAMING_SNAKE_CASE_     )->				Union[str, Any]:





													'''simple docstring'''






													pass




