Convert GPUArray back to regular array?
조회 수: 22 (최근 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!