--- description: Explore the utilities and functions of the Ultralytics NASValidator. Find out how it benefits allocation and optimization in AI models. keywords: Ultralytics, NASValidator, models.nas.val.NASValidator, AI models, allocation, optimization --- # Reference for `ultralytics/models/nas/val.py` !!! note Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/nas/val.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/nas/val.py). --- ## ::: ultralytics.models.nas.val.NASValidator