# 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). --- ## ::: 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