Four Ways to Average the Past

From a loop mean to scaled causal self-attention, following every tensor shape through the implementation.