CNN Performance: CPU Consistency vs. GPU Variance - Why?
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (1)
Edric Ellis
am 23 Nov. 2023
0 Stimmen
I'm not certain if it will make everything consistent, but note that random state on the GPU is controlled by the gpurng function.
1 Kommentar
Hamza
am 23 Nov. 2023
Kategorien
Mehr zu Parallel and Cloud finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!