Formula

RMS Layer Normalization Formula

The root mean square (RMS) layer normalization function computes the normalized output by re-scaling the input vector without re-centering it. The mathematical formulation is: LNorm(h)=αhσrms+ϵ+β\mathrm{LNorm}(\mathbf{h}) = \alpha \cdot \frac{\mathbf{h}}{\sigma_{\mathrm{rms}} + \epsilon} + \beta In this equation, h\mathbf{h} is the input vector and σrms\sigma_{\mathrm{rms}} represents the root mean square of h\mathbf{h}.

Image 0

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related