You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/02/03 09:07:14 UTC

[GitHub] [arrow] jorisvandenbossche commented on pull request #33925: GH-33923: [Docs] Tensor canonical extension type specification

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-unsubscribe@arrow.apache.org

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