





'''simple docstring'''






from __future__ import annotations

import numpy as np
def    UpperCamelCase__      (		lowerCAmelCase  ):





      """simple docstring"""


      return np.maximum(0							,	lowerCAmelCase  )


if __name__ == "__main__":
      print(np.array(relu([-1, 0, 5])))  # --> [0, 0, 5]












import numpy as np




def 			__magic_name__				( A		:					np.array   ):






			'''simple docstring'''







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




def 			__magic_name__				( A		:					np.array   ):






			'''simple docstring'''







			return vector * sigmoid(1.7_02 * vector   )


if __name__ == "__main__":
		import doctest

		doctest.testmod()






