Implementing ReLU (Python programmatic challenge)

Hi
Any input for implementing ReLu using the z value criterion on an array output filled with z? ‘Piece/element-wise check’ isn’t a smart way… so looking for better option.
New to Python and any time-effective python in-built-routine ‘for checking the whole array for Relu criteria’ will be helpful for my from the scratch implementation.
TIA

**Resolved
for anyone that would face the same challenge:
array[array comparision operator threshold_value] where comparision operator is >= or <

1 Like