Layer Normalisation (LayerNorm)
A technique that keeps the numbers flowing through the model from becoming too large or too small, making training more stable. It rescales each layer's output to a standard range.
ⓘ Technical definition
Normalises a vector to zero mean and unit variance across its features: (x − μ) / (σ + ε), then rescales with learnable gain γ and shift β. Applied after attention and FFN sublayers in the encoder block.