LeiWang1999 commented on PR #17133:
URL: https://github.com/apache/tvm/pull/17133#issuecomment-2378557545

   > > However, when I try to instantiate `new_for_node` directly, like this:
   > 
   > node pointer do not take ownership of objects. it seems your 
`new_for_node` referenced object is already deconstructed in the previous line, 
with dangling pointer left.
   
   thanks, exactly, something relevant to the Ownership, now use `For` instead 
of `ForNode*` to take advantage of TVM ObjectRef management. 


-- 
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: [email protected]

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

Reply via email to