import numpy as np
def 							lowerCAmelCase(     __lowerCamelCase				,    __lowerCamelCase						):
     return np.where(vector > 0				,    __lowerCamelCase				,    (alpha * (np.exp(__lowerCamelCase						) - 1))						)


if __name__ == "__main__":
 import doctest

 doctest.testmod()





from __future__ import annotations

import numpy as np
def 							lowerCAmelCase(     __lowerCamelCase						):
					return np.maximum(0				,    __lowerCamelCase						)


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




