QUESTION 9 OF 15

How does layer normalization differ from batch normalization?

Reveal the answer and explore the explanation.

09
Hard

How does layer normalization differ from batch normalization?

Answer
Answer

Normalizes feature activations within each token or example as configured.

Practical example

Stabilize transformer block computations.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As