Double precision in deep learning
이전 댓글 표시
Hello guys,
i want to train my LSTM using double precision but the deep learning toolbox only allows single precision. Can i change that to double precision or how do i train my neural network using double precision ?
Thanks.
댓글 수: 5
KSSV
2022년 11월 28일
To my knowledge, the present deep learning toolbox uses single precision. Though you give input in double, it will be converted to single and trained.
bah
2022년 11월 29일
Matt J
2022년 11월 29일
I don't know, but you should be mindful that training could be slower on the GPU, not just because of the increased precision, but because some GPUs are not optimized for double precision.
bah
2022년 11월 29일
Walter Roberson
2023년 11월 12일
A lot of Nvidia models have double precision at 1/32 of single precision rates. Some improve to 1/24. And a few uncommon models more intended for server improve to 1/8: you have to examine the models carefully to determine the best for your purposes.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!