CNN Performance: CPU Consistency vs. GPU Variance - Why?
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (1)
Edric Ellis
il 23 Nov 2023
0 voti
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 Commento
Hamza
il 23 Nov 2023
Categorie
Scopri di più su Parallel and Cloud in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!