M3.1 — Scaled Dot-Product Attention and Masks: The Score Path Inside One Attention Call
A code- and shape-oriented study note on scaled dot-product attention: Q/K/V, score tensors, finite bias, visibility masks, softmax over keys, dropout, and weighted value mixing.