---
title: nn.modules.head API Reference
description: Explore docs covering Ultralytics YOLO detection, pose & RTDETRDecoder. Comprehensive guides to help you understand Ultralytics nn modules.
keywords: Ultralytics, YOLO, Detection, Pose, RTDETRDecoder, nn modules, guides
---

# Reference for `ultralytics/nn/modules/head.py`

!!! success "Improvements"

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

<br>

## ::: ultralytics.nn.modules.head.Detect

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.Segment

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.Segment26

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.OBB

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.OBB26

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.Pose

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.Pose26

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.Depth

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.Classify

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.WorldDetect

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.LRPCHead

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.YOLOEDetect

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.YOLOESegment

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.YOLOESegment26

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.RTDETRDecoder

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.v10Detect

<br><br><hr><br>

## ::: ultralytics.nn.modules.head.SemanticSegment

<br><br>
