pitrou commented on issue #38868:
URL: https://github.com/apache/arrow/issues/38868#issuecomment-1843083088

   > If we then add dlpack support to our Tensor class (which we can do anyway, 
I think), this would still expose the data of `FixedShapeTensorArray` through 
DLPack.
   
   Then we should probably also support `to_tensor()` on regular primitive 
arrays? For example a 100-entry float32 array would return a 1d float32 tensor 
with shape `(100,)`.
   
   Also, fortunately DLPack doesn't support nulls, because neither does our 
Tensor class :-)
   


-- 
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