hgt312 commented on pull request #8847: URL: https://github.com/apache/tvm/pull/8847#issuecomment-905689897
The motivation is just to prevent processing one module with the same pass multiple times, it makes the result unexpected and I found that function pass always return a new Module. For example: ``` # notebook cell 1 mod = ... # notebook cell 2 (run multiple times) mod = ToANF()(mod) ``` So modify the passes (toanf/tognf/lambdalif...) to return a new module? I am not sure whether the original behavior is expected. -- 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]
