At intermediate stages within the encoder, transformer layers leverage the Swin shift mechanism. This strategy partitions the image into non-overlapping windows, applying self-attention to each ...