Lower precision in trainnet workflow

18 vues (au cours des 30 derniers jours)
Eric Murphy
Eric Murphy le 18 Mai 2024
Modifié(e) : Matt J le 19 Mai 2024
Hi,
Is there a way to adjust the precision when training a network using the "trainnet" workflow (2024a)? I'm interested in lowering precision to speed up training, in the same way I would use "torch.set_float32_matmul_precision" in pytorch.
Thanks,
Eric

Réponses (1)

Matt J
Matt J le 19 Mai 2024
Modifié(e) : Matt J le 19 Mai 2024
Just pass in training data with a lower precision type (e.g., singles versus doubles).

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by