ultralytics/docs/en/reference/nn/modules/transformer.md
Glenn Jocher 3637f509dd
ultralytics 8.3.231 New Zensical docs refresh (#22761)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2025-11-23 19:53:50 +01:00

1.5 KiB

description keywords
Learn about Ultralytics transformer encoder, layer, MLP block, LayerNorm2d and the deformable transformer decoder layer. Expand your understanding of these crucial AI modules. Ultralytics, Ultralytics documentation, TransformerEncoderLayer, TransformerLayer, MLPBlock, LayerNorm2d, DeformableTransformerDecoderLayer

Reference for ultralytics/nn/modules/transformer.py

!!! success "Improvements"

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

::: ultralytics.nn.modules.transformer.TransformerEncoderLayer





::: ultralytics.nn.modules.transformer.AIFI





::: ultralytics.nn.modules.transformer.TransformerLayer





::: ultralytics.nn.modules.transformer.TransformerBlock





::: ultralytics.nn.modules.transformer.MLPBlock





::: ultralytics.nn.modules.transformer.MLP





::: ultralytics.nn.modules.transformer.LayerNorm2d





::: ultralytics.nn.modules.transformer.MSDeformAttn





::: ultralytics.nn.modules.transformer.DeformableTransformerDecoderLayer





::: ultralytics.nn.modules.transformer.DeformableTransformerDecoder