Why not always project out from Attention block?

Author: fiskrtCreated Nov 19, 2024Updated Nov 22, 2024

Hey, why is the out projection from the Attention block optional? See: https://github.com/lucidrains/vit-pytorch/blob/d47c57e32feae5c5a741a7d3baba3ac70cdb3567/vit_pytorch/vit.py#L33