Convert GPUArray back to regular array?

81 vues (au cours des 30 derniers jours)
Nathan Hughes
Nathan Hughes le 22 Juin 2017
Commenté : Prb le 14 Mai 2019
Hi,
I have some functions which I can use with an image when it is in GPUArray, other functions I have won't work with GPUArrays, how can I convert a GPUArray back into a regular array?
Many thanks

Réponse acceptée

Adam
Adam le 22 Juin 2017
Modifié(e) : Adam le 22 Juin 2017
doc gather
Make sure you select the one for the parallel computing toolbox though rather than tall arrays
  3 commentaires
Walter Roberson
Walter Roberson le 14 Mai 2019
If you need to use that without a GPU, then it would be
B_forward = (bitshift((B_forward),Shifts(WeightLayerIndex)));
Prb
Prb le 14 Mai 2019
Thanks a lot

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by