


import os
from typing import Dict, List, Tuple, TypeVar, Union


UpperCAmelCase__   	=							TypeVar('''T''')

UpperCAmelCase__   	=							Union[List[T], Tuple[T, ...]]
UpperCAmelCase__   	=							Union[T, List[T], Dict[str, T]]
UpperCAmelCase__   	=							Union[str, bytes, os.PathLike]




import numpy as np





def 					__lowerCamelCase	( UpperCamelCase__      ):







							'''simple docstring'''






							return 1 / (1 + np.exp(-vector      ))





def 					__lowerCamelCase	( UpperCamelCase__      ):







							'''simple docstring'''






							return vector * sigmoid(UpperCamelCase__      )


if __name__ == "__main__":
					import doctest

					doctest.testmod()




