Convert GPUArray back to regular array?
81 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Adam
2017-6-22
编辑:Adam
2017-6-22
doc gather
Make sure you select the one for the parallel computing toolbox though rather than tall arrays
3 个评论
Walter Roberson
2019-5-14
If you need to use that without a GPU, then it would be
B_forward = (bitshift((B_forward),Shifts(WeightLayerIndex)));
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!