wkcn commented on issue #12047: [MXNET-779]Add DLPack Transformation API URL: https://github.com/apache/incubator-mxnet/pull/12047#issuecomment-414927724 @tqchen Hi! I have modified the PR, the DLManaged Tensor will manage itself. However, there is a problem. In this case, ```python import mxnet as mx pack = mx.nd.array([1,2,3]).to_dlpack_for_write() b = mx.nd.from_dlpack(pack) del pack # DLManagedTensor's deleter get called when `pack` get released. print (b) # b != [1,2,3] ``` Does it need to manage the release of dlpack in NDArray Chunk (C++) ?
---------------------------------------------------------------- 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
