isLinXu
Track images with Xet; remove caches
2793310

A newer version of the Gradio SDK is available: 6.8.0

Upgrade
metadata
description: >-
  Explore the ultralytics.models.sam.sam3.decoder module, including transformer
  decoder layers used in SAM3 model heads.
keywords: >-
  Ultralytics, SAM3, SAM, transformer decoder, attention, segmentation, deep
  learning, Python

Reference for ultralytics/models/sam/sam3/decoder.py

!!! success "Improvements"

This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/sam3/decoder.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/sam3/decoder.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing/) — thank you! 🙏

::: ultralytics.models.sam.sam3.decoder.TransformerDecoderLayer





::: ultralytics.models.sam.sam3.decoder.TransformerDecoder