elferherrera commented on pull request #8129:
URL: https://github.com/apache/arrow/pull/8129#issuecomment-689647404


   I wasn't aware of tch-rs. I will have a look at it and how it creates the 
torch tensors. Thanks for the info.
   
   Regarding the features, I was planning to implement the fmt::debug trait for 
the tensor in order to see the real values and not the buffer. I was also 
considering new constructors similar to the ones you can find in pytorch, e.g. 
zeros, ones, rand, etc. Also to define operations on the tensor. 
   
   However, after reading the C++ implementation the best approach would be to 
try to implement arrow to ndarray (zero copy). There is no point to reinvent 
the wheel. 


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

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


Reply via email to