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.
54 lines
1.2 KiB
54 lines
1.2 KiB
2 years ago
|
---
|
||
|
description: Learn about Ultralytics ViT encoder, position embeddings, attention, window partition, and more in our comprehensive documentation.
|
||
|
keywords: Ultralytics YOLO, ViT Encoder, Position Embeddings, Attention, Window Partition, Rel Pos Encoding
|
||
|
---
|
||
|
|
||
|
## ImageEncoderViT
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.ImageEncoderViT
|
||
|
<br><br>
|
||
|
|
||
|
## PromptEncoder
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.PromptEncoder
|
||
|
<br><br>
|
||
|
|
||
|
## PositionEmbeddingRandom
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.PositionEmbeddingRandom
|
||
|
<br><br>
|
||
|
|
||
|
## Block
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.Block
|
||
|
<br><br>
|
||
|
|
||
|
## Attention
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.Attention
|
||
|
<br><br>
|
||
|
|
||
|
## PatchEmbed
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.PatchEmbed
|
||
|
<br><br>
|
||
|
|
||
|
## window_partition
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.window_partition
|
||
|
<br><br>
|
||
|
|
||
|
## window_unpartition
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.window_unpartition
|
||
|
<br><br>
|
||
|
|
||
|
## get_rel_pos
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.get_rel_pos
|
||
|
<br><br>
|
||
|
|
||
|
## add_decomposed_rel_pos
|
||
|
---
|
||
|
### ::: ultralytics.vit.sam.modules.encoders.add_decomposed_rel_pos
|
||
|
<br><br>
|