The Rectified Linear Unit at Its Boundary

A rectified linear unit outputs zero for negative inputs and preserves nonnegative inputs.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace three values
  2. Check the derivative convention

The activation is \(f(x)=\max(0,x)\). Its two linear pieces meet at zero.

Trace three values

Inputs minus two, zero, and five give zero, zero, and five. A layer activates each score according to that rule. See a weighted unit for how the scores can be computed.

Check the derivative convention

The classical derivative is zero on the negative side and one on the positive side, with no derivative at zero. Automatic differentiation frameworks choose how to handle that boundary. See boundary tests.[1]

References

  1. Ian Goodfellow, Yoshua Bengio and Aaron Courville, Deep Learning ↩