

'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_vilt import ViltImageProcessor


lowerCAmelCase_     =      logging.get_logger(__name__)







class lowerCamelCase   (    __lowerCAmelCase				):

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













"""simple docstring"""





import torch

from transformers import PreTrainedModel

from .custom_configuration import CustomConfig, NoSuperInitConfig
class  __lowerCamelCase     (	_a	):
   a   :					List[Any]			    =CustomConfig

   def __init__(       self			,					snake_case_   )		->							str:
       super().__init__(snake_case_   )
       UpperCamelCase__								=     torch.nn.Linear(config.hidden_size			,					config.hidden_size   )

   def     SCREAMING_SNAKE_CASE__			(       self			,					snake_case_   )		->							Optional[int]:
       return self.linear(snake_case_   )







   def     SCREAMING_SNAKE_CASE__			(       self			,					snake_case_   )		->							Union[str, Any]:
       pass







class  __lowerCamelCase     (	_a	):
   a   :					Optional[int]			    =NoSuperInitConfig

   def __init__(       self			,					snake_case_   )		->							Optional[int]:
       super().__init__(snake_case_   )
       UpperCamelCase__								=     torch.nn.Linear(config.attribute			,					config.attribute   )

   def     SCREAMING_SNAKE_CASE__			(       self			,					snake_case_   )		->							int:
       return self.linear(snake_case_   )







   def     SCREAMING_SNAKE_CASE__			(       self			,					snake_case_   )		->							Union[str, Any]:
       pass




