CNN Performance: CPU Consistency vs. GPU Variance - Why?
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (1)
Edric Ellis
le 23 Nov 2023
0 votes
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 commentaire
Hamza
le 23 Nov 2023
Catégories
En savoir plus sur Parallel and Cloud dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!