30/42
Part 5 of 6 · The check and the projectionLearn

The output projection is where the heads meet

After the merge, y has the same layout as q before the split: channels hdhd to (h+1)d−1(h+1)d - 1 hold head hh's output and nothing else. No head has seen another head's result yet.

self.proj = nn.Linear(C, C) is WOW_O, and it's where they meet. Every output channel can draw on every head.