# Reference for `ultralytics/nn/tasks.py`
!!! note
Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/tasks.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/tasks.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠️. Thank you 🙏!
---
## ::: ultralytics.nn.tasks.BaseModel
---
## ::: ultralytics.nn.tasks.DetectionModel
---
## ::: ultralytics.nn.tasks.SegmentationModel
---
## ::: ultralytics.nn.tasks.PoseModel
---
## ::: ultralytics.nn.tasks.ClassificationModel
---
## ::: ultralytics.nn.tasks.RTDETRDetectionModel
---
## ::: ultralytics.nn.tasks.Ensemble
---
## ::: ultralytics.nn.tasks.temporary_modules
---
## ::: ultralytics.nn.tasks.torch_safe_load
---
## ::: ultralytics.nn.tasks.attempt_load_weights
---
## ::: ultralytics.nn.tasks.attempt_load_one_weight
---
## ::: ultralytics.nn.tasks.parse_model
---
## ::: ultralytics.nn.tasks.yaml_model_load
---
## ::: ultralytics.nn.tasks.guess_model_scale
---
## ::: ultralytics.nn.tasks.guess_model_task