"""simple docstring"""





import warnings

from ...utils import logging
from .image_processing_levit import LevitImageProcessor


_UpperCamelCase       :						Tuple     =   logging.get_logger(__name__)


class 					UpperCAmelCase_     (   _a):


      def __init__(       self		,      *a		,      **a							)	-> None:
             warnings.warn(
                 'The class LevitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
                 ' use LevitImageProcessor instead.'		,      a		,      )
             super().__init__(*a		,      **a							)


"""simple docstring"""





import torch

from transformers import PreTrainedModel

from .custom_configuration import CustomConfig, NoSuperInitConfig


class 					UpperCAmelCase_     (   _a):
      lowerCamelCase__		:   List[str]			  =  CustomConfig


      def __init__(       self		,      a							)	-> Optional[int]:
             super().__init__(a							)
             lowercase__      :		Any          =     torch.nn.Linear(config.hidden_size		,      config.hidden_size							)


      def 		_UpperCAmelCase	(       self		,      a							)	-> Union[str, Any]:
             return self.linear(a							)


      def 		_UpperCAmelCase	(       self		,      a							)	-> Tuple:
             pass





class 					UpperCAmelCase_     (   _a):
      lowerCamelCase__		:   Optional[int]			  =  NoSuperInitConfig


      def __init__(       self		,      a							)	-> int:
             super().__init__(a							)
             lowercase__      :		List[Any]          =     torch.nn.Linear(config.attribute		,      config.attribute							)


      def 		_UpperCAmelCase	(       self		,      a							)	-> Optional[int]:
             return self.linear(a							)


      def 		_UpperCAmelCase	(       self		,      a							)	-> Optional[Any]:
             pass

