You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
---
description: Discover detailed information on ImageEncoderViT, PositionEmbeddingRandom, Attention, window_partition, get_rel_pos and more in Ultralytics models encoders documentation.
keywords: Ultralytics, Encoders, Modules, Documentation, ImageEncoderViT, PositionEmbeddingRandom, Attention, window_partition, get_rel_pos
---
## ImageEncoderViT
---
### ::: ultralytics.models.sam.modules.encoders.ImageEncoderViT
< br > < br >
## PromptEncoder
---
### ::: ultralytics.models.sam.modules.encoders.PromptEncoder
< br > < br >
## PositionEmbeddingRandom
---
### ::: ultralytics.models.sam.modules.encoders.PositionEmbeddingRandom
< br > < br >
## Block
---
### ::: ultralytics.models.sam.modules.encoders.Block
< br > < br >
## Attention
---
### ::: ultralytics.models.sam.modules.encoders.Attention
< br > < br >
## PatchEmbed
---
### ::: ultralytics.models.sam.modules.encoders.PatchEmbed
< br > < br >
## window_partition
---
### ::: ultralytics.models.sam.modules.encoders.window_partition
< br > < br >
## window_unpartition
---
### ::: ultralytics.models.sam.modules.encoders.window_unpartition
< br > < br >
## get_rel_pos
---
### ::: ultralytics.models.sam.modules.encoders.get_rel_pos
< br > < br >
## add_decomposed_rel_pos
---
### ::: ultralytics.models.sam.modules.encoders.add_decomposed_rel_pos
< br > < br >