tqchen commented on issue #14240: URL: https://github.com/apache/tvm/issues/14240#issuecomment-1462296182
Var reuse issue did come up a few times and I agree that we should catch it in well-formness. Since having single define site of var does come handy (think it as some form of SSA), we can for example use map<var, info> without worrying about scoping. We did also encounter similar issues in gradient passes. Utils like CopyWithNewVars helps to deal with some of the pas cases -- 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]
