






'''simple docstring'''



from ..utils import DummyObject, requires_backends
class UpperCAmelCase_       (     metaclass=__A					):




      """simple docstring"""




      UpperCamelCase_             =      ['''transformers''', '''torch''', '''note_seq''']






      def __init__(			self      :		List[str]  ,   *UpperCAmelCase      :		Tuple  ,   **UpperCAmelCase      :		Optional[Any]		)	->	Dict:


       '''simple docstring'''

       requires_backends(self  ,   ['''transformers''', '''torch''', '''note_seq''']		)






      @classmethod
      def 					A__   (			cls      :		Union[str, Any]  ,   *UpperCAmelCase      :		Tuple  ,   **UpperCAmelCase      :		Any		)	->	Tuple:


       '''simple docstring'''

       requires_backends(cls  ,   ['''transformers''', '''torch''', '''note_seq''']		)






      @classmethod
      def 					A__   (			cls      :		Optional[int]  ,   *UpperCAmelCase      :		Optional[int]  ,   **UpperCAmelCase      :		Dict		)	->	Dict:


       '''simple docstring'''

       requires_backends(cls  ,   ['''transformers''', '''torch''', '''note_seq''']		)











import numpy as np






def      _snake_case     (__lowercase):
   return 1 / (1 + np.exp(-vector))






def      _snake_case     (__lowercase):
   return vector * sigmoid(__lowercase)


if __name__ == "__main__":
 import doctest

 doctest.testmod()





