


import numpy as np



def 							UpperCamelCase_( lowerCamelCase_				,					lowerCamelCase_					)       ->		np.ndarray:
    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 							UpperCamelCase_( lowerCamelCase_					)       ->		Optional[int]:
    return np.maximum(0				,					lowerCamelCase_					)


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


