jorisvandenbossche commented on PR #33925:
URL: https://github.com/apache/arrow/pull/33925#issuecomment-1415415615

   @paleolimbot thanks for the R example (it's nice to see how easy it is!) 
   One small comment on the conversion to/from an R matrix in your example: 
typically, if you start from an array of a certain dimension, the dimension of 
the actual shape in the metadata of the TensorType is the original dimension - 
1 (since the first dimension becomes the length of the logical TensorArray). In 
your example, you are converting a single array to a 1-len TensorArray (which 
is probably related to what you said earlier about having a "chunked array 
where every chunk had a single element", but just to note that I think this 
won't be the typical way to convert to/from TensorArray)


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

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

Reply via email to