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

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

Asked:

on 18 May 2024

Edited:

on 19 May 2024

Community Treasure Hunt

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

Start Hunting!