AlenkaF opened a new issue, #38868:
URL: https://github.com/apache/arrow/issues/38868

   ### Describe the enhancement requested
   
   With the work in https://github.com/apache/arrow/issues/33984 support for 
`DLPack` (exporting) will be added to `Arrays`. It would be great to do similar 
for `FixedShapeTensorArray` (and `Tensor`) classes.
   
   I would like to open a discussion to decide how to approach the 
implementation of tensor protocol in case of `FixedShapeTensorArray`. 
   
   If we follow the same logic for `FixedShapeTensorArray` as in 
https://github.com/apache/arrow/pull/38472 the dimensionality of the object 
would change as the tensor extension type array is an array of tensors and not 
a single tensor. This is not necessarily the right approach. Maybe it would 
make more sense to apply DLPack support to `FixedShapeTensorScalar`.
   
   Will be happy to receive feedback on this!
   cc @jorisvandenbossche @rok 
   
   ### Component(s)
   
   C++, Python


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to