Windowed Attention
Quick definition
Attention computed within restricted local windows rather than over all tokens.
Attention computed within restricted local windows rather than over all tokens.
Example: A vision transformer attends to patches within neighboring image regions.
Where it is useful: designing, training, and adapting neural-network models.
Examples
- A vision transformer attends to patches within neighboring image regions.
Use cases
- designing, training, and adapting neural-network models.
Frequently asked questions
What is Windowed Attention?
Attention computed within restricted local windows rather than over all tokens.
Can you give an example of Windowed Attention?
A vision transformer attends to patches within neighboring image regions.