22.02.2024 Views

Daniel Voigt Godoy - Deep Learning with PyTorch Step-by-Step A Beginner’s Guide-leanpub

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 9.27 - Encoder with self- and cross-attentions

If you’re wondering why we removed the concatenation part, here comes the

answer: We’re using self-attention as a decoder too.

Self-Attention | 747

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!