You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/04/13 03:01:56 UTC

[GitHub] [tvm] Beya2019 commented on pull request #7826: [RUNTIME] Add clear() function in tvm::Map class

Beya2019 commented on pull request #7826:
URL: https://github.com/apache/tvm/pull/7826#issuecomment-818395743


   > The best way to clear a `tvm::Map` might be just re-creating one IMO
   
   OK, according the suggestion, re-creating one call default constructor function: `Map() { data_ = MapNode::Empty(); }` , so clear function can call `data_ = MapNode::Empty();`  directly  IMO
   
   Do you think this is ok?
   


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