You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the original Attention is all you need paper there is always an out projection $W^O$ from the Attention block, as given by the un-numbered equations in section 3.2.2.
Hey, why is the out projection from the
Attentionblock optional? See:vit-pytorch/vit_pytorch/vit.py
Line 33 in d47c57e
In the original Attention is all you need paper there is always an out projection$W^O$ from the
Attentionblock, as given by the un-numbered equations in section 3.2.2.The projection is also always applied in the timm library: see
https://github.com/huggingface/pytorch-image-models/blob/ae0737f5d098900180c4457845dda35433ab92c0/timm/models/vision_transformer.py#L105