Implement a program that performs the Rectified Linear Unit (ReLU) activation function on a vector of 32-bit floating point numbers. The ReLU function sets all negative values to zero and leaves positive values unchanged: \[\text{ReLU}(x) = \max(0, x)\]
solve function signature must remain unchangedoutputInput: input = [-2.0, -1.0, 0.0, 1.0, 2.0] Output: output = [0.0, 0.0, 0.0, 1.0, 2.0]
Input: input = [-3.5, 0.0, 4.2] Output: output = [0.0, 0.0, 4.2]
N ≤ 100,000,000N = 25,000,000