tqchen commented on pull request #8847:
URL: https://github.com/apache/tvm/pull/8847#issuecomment-905909951


   I think it was due to the fact that we are designing the Module to look like 
a mutable interface while in nature we want something immutable. As a result 
some of the passes are written in a way that inplace mutates the Module.
   
   A short term fix would be to just fix the pass that have this behavior. 
Thinking in the long term we might want rethink the module interface a bit and 
enforce immutability.   @jroesch 


-- 
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