Lower precision in trainnet workflow

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

0 votes

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 Centre d'aide et File Exchange

Modifié(e) :

le 19 Mai 2024

Community Treasure Hunt

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

Start Hunting!

Translated by