Gradient accumulation

Accumulating gradients from several small batches before one optimizer step.

Practical example

Four batches of eight examples approximate a batch of 32 examples.

Related concept: batch

AI glossary · Poiskom

All guides