Convert GPUArray back to regular array?

22 ビュー (過去 30 日間)
Nathan Hughes
Nathan Hughes 2017 年 6 月 22 日
コメント済み: Prb 2019 年 5 月 14 日
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

採用された回答

Adam
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
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)));
Prb
Prb 2019 年 5 月 14 日
Thanks a lot

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGPU Computing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by