LayerNorm normalises each row of (shape (N, D)) to zero mean and unit variance, then scales and shifts:
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial