hlu1 opened a new pull request #5301: [NDArray] Set NDArray::Container.shape_ 
in NDArray::FromDLPack
URL: https://github.com/apache/incubator-tvm/pull/5301
 
 
   In some cases, the shape info in DLTensor.shape might not be dynamically 
allocated and may cease to exist after passing the DLTensor to NDArray. We can 
avoid this problem by setting NDArray::Container.shape_ at construction time 
and assign it back to DLTensor.shape.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to