

'''simple docstring'''

from ..utils import DummyObject, requires_backends





class 							_snake_case (       metaclass=_a						):
   _A       :     Any       =					['''torch''', '''scipy''']
   def __init__( self			:      Optional[int]     ,*SCREAMING_SNAKE_CASE__			:      Optional[int]     ,**SCREAMING_SNAKE_CASE__			:      List[str]							):
     requires_backends(self     ,["torch", "scipy"]							)
   @classmethod
   def     __UpperCamelCase						( cls			:      Optional[Any]     ,*SCREAMING_SNAKE_CASE__			:      Optional[int]     ,**SCREAMING_SNAKE_CASE__			:      int							):
     requires_backends(cls     ,["torch", "scipy"]							)







   @classmethod
   def     __UpperCamelCase						( cls			:      Dict     ,*SCREAMING_SNAKE_CASE__			:      Optional[int]     ,**SCREAMING_SNAKE_CASE__			:      Optional[Any]							):
     requires_backends(cls     ,["torch", "scipy"]							)









'''simple docstring'''

from ....utils import logging


A_       						=							logging.get_logger(__name__)





class 							_snake_case (       _a						):
   def __init__( self			:      Optional[Any]     ,SCREAMING_SNAKE_CASE__			:      Optional[int]     ,SCREAMING_SNAKE_CASE__			:      Optional[Any]=None     ,SCREAMING_SNAKE_CASE__			:      Optional[int]=2_048							):
     SCREAMING_SNAKE_CASE:int						      =					config.__dict__
     SCREAMING_SNAKE_CASE:List[str]						      =					modal_hidden_size
     if num_labels:
       SCREAMING_SNAKE_CASE:str						      =					num_labels






