Apply ReLU
Return a list with every negative value replaced by zero.
Examples
EXAMPLE WALKTHROUGHmixed
A guided view of the published example, not a trace of your code.
INPUT
[[-2,0,3]]TASKrelu()
EXPECTED OUTPUT
[0,0,3]Start with the input values shown in this example.
Example 1 of 2
Input: values = [-2,0,3]
Output: [0,0,3]
Explanation: mixed
Input: values = []
Output: []
Explanation: empty
Hint 1
Use max with zero for every value.