ActivationfunctionActivation function

Activation function — the nonlinearity

The fixed nonlinear function applied after a layer's weighted sums, such as ReLU, tanh, GELU or Swish.

Without it, stacked linear layers collapse into a single linear layer, so depth would add nothing (section 4.2).

Where the course uses it

Related terms