Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Mathematics for Deep Learning

You're reading from  Hands-On Mathematics for Deep Learning

Product type Book
Published in Jun 2020
Publisher Packt
ISBN-13 9781838647292
Pages 364 pages
Edition 1st Edition
Languages
Author (1):
Jay Dawani Jay Dawani
Profile icon Jay Dawani

Table of Contents (19) Chapters

Preface 1. Section 1: Essential Mathematics for Deep Learning
2. Linear Algebra 3. Vector Calculus 4. Probability and Statistics 5. Optimization 6. Graph Theory 7. Section 2: Essential Neural Networks
8. Linear Neural Networks 9. Feedforward Neural Networks 10. Regularization 11. Convolutional Neural Networks 12. Recurrent Neural Networks 13. Section 3: Advanced Deep Learning Concepts Simplified
14. Attention Mechanisms 15. Generative Models 16. Transfer and Meta Learning 17. Geometric Deep Learning 18. Other Books You May Enjoy

Exploring the types of attention

Attention has proven to be so effective in machine translation that it has been expanded into natural language processing, statistical learning, speech understanding, object detection and recognition, image captioning, and visual question answering.

The purpose of attention is to estimate how correlated (connected) two or more elements are to one another.

However, there isn't just one kind of attention. There are many types, such as the following:

  • Self-attention: Captures the relationship between different positions of a sequence of inputs
  • Global or soft attention: Focuses on the entire sequence of inputs
  • Local or hard attention: Focuses on only part of the sequence of inputs

Let's take a look at these in more detail.

Self-attention

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}