Swish and SiLU
You will learn
How x times sigmoid(beta x) gates itself, and how one parameter moves it from a smooth curve to ReLU.
Swish is x times sigmoid(beta x), a unit that gates itself. At beta 1 it is called SiLU, and its lowest point is -0.2785 near x = -1.28. Raise beta and the gate sharpens: at beta 8 the curve is ReLU with rounded corners; at beta 0.5 it is a gentle slope through zero. One parameter moves the unit between a smooth curve and a switch, and a network can learn it. The spec silu_swish_activation.t27 computes the curve and its slope for any beta, and its own batch at -2, 0 and 2: -0.238, 0 and 1.762.