Types of Attention

There are two types attention mechanisms. They are as follows:

  • Hard attention
  • Soft attention

Let's now take a look at each one in detail in the following sections.

Get Practical Convolutional Neural Networks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.