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.

1.2 KiB

description keywords
Learn about Ultralytics ViT encoder, position embeddings, attention, window partition, and more in our comprehensive documentation. Ultralytics YOLO, ViT Encoder, Position Embeddings, Attention, Window Partition, Rel Pos Encoding

ImageEncoderViT


::: ultralytics.vit.sam.modules.encoders.ImageEncoderViT



PromptEncoder


::: ultralytics.vit.sam.modules.encoders.PromptEncoder



PositionEmbeddingRandom


::: ultralytics.vit.sam.modules.encoders.PositionEmbeddingRandom



Block


::: ultralytics.vit.sam.modules.encoders.Block



Attention


::: ultralytics.vit.sam.modules.encoders.Attention



PatchEmbed


::: ultralytics.vit.sam.modules.encoders.PatchEmbed



window_partition


::: ultralytics.vit.sam.modules.encoders.window_partition



window_unpartition


::: ultralytics.vit.sam.modules.encoders.window_unpartition



get_rel_pos


::: ultralytics.vit.sam.modules.encoders.get_rel_pos



add_decomposed_rel_pos


::: ultralytics.vit.sam.modules.encoders.add_decomposed_rel_pos