promptdojo_
Checkpoint

One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.

Checkpoint. Compute one attention output end to end. Write attend(values, scores) that normalizes the scores into weights (score / sum) and returns the weighted average of the values, rounded to 2 decimals, formatted as:

attention output: 22.5

full-screen editor opens — close anytime to keep reading.