Scaled Dot-Product Attention Demonstrator
Calculate scaled query–key scores, softmax weights, and weighted values with optional causal masking.
Description
Calculate scaled query–key scores, softmax weights, and weighted values with optional causal masking.