Implement ReLU (Rectified Linear Unit).
Signature: def relu(x: np.ndarray) -> np.ndarray
def relu(x: np.ndarray) -> np.ndarray
Math
Asked at
Output
Anything you print() in your code will show up here after you click Run.
print()
Test Results