wkcn edited a comment on issue #13658: Converting MX array to DLPack crashes 
when MX array goes out-of-scope
URL: 
https://github.com/apache/incubator-mxnet/issues/13658#issuecomment-447756804
 
 
   DLPack allow strides field to be `nullptr`, for mxnet do do not need to 
store strides, as we only support compact tensor for now.
   
https://github.com/apache/incubator-mxnet/blob/master/include/mxnet/tensor_blob.h#L409
   
   However, PyTorch doesn't accept the DLPack whose strides is `nullptr`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to