---
title: nn.distill_model API Reference
description: Reference for `ultralytics.nn.distill_model` in the Ultralytics package.
keywords: Ultralytics, ultralytics.nn.distill_model, API reference, YOLO, Python
---

# Reference for `ultralytics/nn/distill_model.py`

!!! success "Improvements"

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

<br>

## ::: ultralytics.nn.distill_model.FeatureHook

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

## ::: ultralytics.nn.distill_model.DistillationModel

<br><br>
