A transformer block is a wiring pattern. This lesson shows the components and the order in which data moves through them.
Stacking the pieces
A transformer block wires attention and an MLP together with residual connections and normalization. The flowchart shows which component feeds which.
input→attention→MLP→output
The block order
The validated order is input, positional encoding, attention, residual add, layernorm, MLP-ReLU, residual add, layernorm, output.
wiring order is validated
Summary
This lesson is about wiring, not hidden arithmetic. Exact nodes and named-boundary nodes are flagged before any lesson uses the residual example.
flowchart nodes carry exact or named flags