CNN Performance: CPU Consistency vs. GPU Variance - Why?
이전 댓글 표시
Hello everyone,
I have executed CNN code multiple times using rng(0) with CPU and consistently obtained the same result. However, when I attempted to accelerate the training process using the GPU, the results differed. Has anyone else faced this issue?
Thank you in advance!
채택된 답변
추가 답변 (1개)
Edric Ellis
2023년 11월 23일
0 개 추천
I'm not certain if it will make everything consistent, but note that random state on the GPU is controlled by the gpurng function.
카테고리
도움말 센터 및 File Exchange에서 Parallel and Cloud에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!