Closed ajsc4 closed 1 year ago
Is it possible to convert a numpy array into the pyclesperanto OCLArray image type?
Hi @ajsc4 ,
yes, using cle.asarray(np_array). Furthermore, all functions in pyclesperanto consume both kinds of images, opencl-based and numpy.
cle.asarray(np_array)
Let me know if this answers your question.
Best, Robert
Is it possible to convert a numpy array into the pyclesperanto OCLArray image type?