18/23
Part 5 of 6 · Hide the futureLearn and do

Write hide_future(att): return a new tensor in which every score above the diagonal is -inf, for att of shape (T, T) or with any number of leading axes, like (B, H, T, T).