tqchen commented on pull request #6914:
URL: https://github.com/apache/incubator-tvm/pull/6914#issuecomment-726770963


   Our current inherant assumption for Array and other data structures so far 
is that they are immutable, and applies copy on write on the c++ side. Because 
there is not a good way to create a new copy for the python side, while also 
ensure that the list is the sole single copy. I would not encourage us expose 
this as a primitive as python array, since it can cause problems like mutating 
argument list of an IR call node.
   
   


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


Reply via email to