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

回答 (1 件)

Matt J
Matt J 2024 年 5 月 19 日
編集済み: Matt J 2024 年 5 月 19 日

0 投票

Just pass in training data with a lower precision type (e.g., singles versus doubles).

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2024 年 5 月 18 日

編集済み:

2024 年 5 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by