Glossary · Term

forward pass

← all terms

Definition

Plain language

One run of input through a neural network from start to finish to produce an output.

As stated in the literature

A single application of a network's parameters to an input, computing activations layer-by-layer to produce predictions.

Why it matters: It's the basic unit of inference cost, and most performance and latency discussions ultimately reduce to how many forward passes you're doing.

For example, when you type a question to a chatbot, the model does one forward pass per output token to decide what word comes next.

Heard on the show

“It's the place the field stops asking "how do we make a single forward pass smarter" and starts asking "how do we make a sequence of attempts collectively smarter than any one of them.”
Episode 003 — How to Pick the Best of Sixteen Coding Agent Rollouts

Related concepts

Related terms