Attention Pooling by Similarity

https://d2l.ai/chapter_attention-mechanisms-and-transformers/attention-pooling.html