In the keras documentation, the function keras.activations.relu(x, alpha=0.0, max_value=None, threshold=0.0)
is defined as:
f(x) = max_value for x >= max_value,
f(x) = x for threshold <= x < max_value,
f(x) = alpha * (x - threshold) otherwise.
I did a small test with alpha=0.01
, threshold=5.0
and max_value=100.0
and for x=5.0
the output I get is f(x)=0.0
.
If I am not mistaken, since x == threshold
, I should get f(x)=x=5.0
.
Can anyone explain please?
Thanks,
- Julien