Lower precision in trainnet workflow

4 visualizzazioni (ultimi 30 giorni)
Eric Murphy
Eric Murphy il 18 Mag 2024
Modificato: Matt J il 19 Mag 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

Risposte (1)

Matt J
Matt J il 19 Mag 2024
Modificato: Matt J il 19 Mag 2024
Just pass in training data with a lower precision type (e.g., singles versus doubles).

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by