Clear Filters
Clear Filters

Lower precision in trainnet workflow

1 view (last 30 days)
Eric Murphy
Eric Murphy on 18 May 2024
Edited: Matt J on 19 May 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

Answers (1)

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

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!