AlenkaF opened a new pull request, #42118:
URL: https://github.com/apache/arrow/pull/42118

   ### Rationale for this change
   
   Producing part of DLPack protocol [has been added to Arrow 
Arrays](https://github.com/apache/arrow/issues/33984) but is missing on Arrow 
Tensor class.
   
   ### What changes are included in this PR?
   
   This PR adds support for producing DLPack struct and bindings to it in 
Python:
   
   - `ExportTensor` and `ExportTensorDevice` methods on Arrow C++ Tensor class
   - `__dlpack__` method on PyArrow Tensor class exposing ExportTensor method
   - `__dlpack_device__` method on PyArrow Tensor class exposing 
ExportTensorDevice method
   
   ### Are these changes tested?
   
   Yes
   
   ### Are there any user-facing changes?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to