pyclesperanto_prototype
pyclesperanto_prototype copied to clipboard
build a numpy-like interface
hi, when I push array to gpu, got a gpu object. can we wrap the gpu object as a numpy-like interface? such as (dot, concat, slice, reshape...)? I know there is a repo called clpy, but it is too hard to install.
Hey @yxdragon ,
that's a great idea! As we have it on matlab side, it totally makes sense here as well :-)
Thanks for the suggestion! If you feel like spending some time on it, contributions are very welcome!
Cheers, Robert
Just adding a link here for how this could be implemented (thanks to @jni for pointing me towards this): https://data-apis.github.io/array-api/latest/API_specification/array_object.html