mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 21:44:22 +08:00

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: AdiEcho <30563671+AdiEcho@users.noreply.github.com>
23 lines
920 B
Markdown
23 lines
920 B
Markdown
---
|
|
description: Learn about TwoWayTransformer and Attention modules in Ultralytics. Leverage these tools to enhance your AI models.
|
|
keywords: Ultralytics, TwoWayTransformer, Attention, AI models, transformers
|
|
---
|
|
|
|
# Reference for `ultralytics/models/sam/modules/transformer.py`
|
|
|
|
!!! note
|
|
|
|
Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/modules/transformer.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/modules/transformer.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠️. Thank you 🙏!
|
|
|
|
---
|
|
## ::: ultralytics.models.sam.modules.transformer.TwoWayTransformer
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.models.sam.modules.transformer.TwoWayAttentionBlock
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.models.sam.modules.transformer.Attention
|
|
<br><br>
|