36/42
Part 6 of 6 · Follow-upsLearn
The mask saves no compute
Hiding the future doesn't make the scores any cheaper.
scores (4, 4)s---ss--sss-ssss
s is a score that's kept, and - is computed, then set to -inf. At T = 1,024, 523,776 of 1,048,576 are thrown away.
You compute all scores and then throw away the future ones, just under half: 523,776 of 1,048,576 at .