DLPack data exchange interface in Python
copied from cf-staging / pydlpackPyDLPack is a Python library for exchanging data between different array libraries using DLPack protocol. The provider library does not need to implement DLPack support. Implementing CPU/CUDA array interface or Python buffer protocol is sufficient.