# What is Swin? Definition and meaning

A vision transformer that computes attention inside local windows that shift between layers, giving a feature hierarchy.

## Definition

**Swin**: A vision transformer that computes attention inside local windows that shift between layers, giving a feature hierarchy.

In short: Hierarchical vision transformer with shifted windows.

## When it is used

Dense vision tasks such as detection and segmentation.

## Learn more

The full guide to **[Swin](/tools/swin)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [SVM](/glossary/svm) · Next term: [Synaptic Intelligence](/glossary/synaptic-intelligence)
