tqchen opened a new pull request, #20453: URL: https://github.com/apache/tvm/pull/20453
Add `prim::OpConstFoldScope` and an FFI-backed Python context manager to control eager primitive-operator folding on the current thread. Function-frame entry disables folding and restores the previous setting on exit, allowing TVMScript construction to retain constants and identity operations as expression nodes. Print typed constants for overloaded binary expressions whose operands would otherwise both be Python literals. Preserve integer division semantics, type and layout normalization, argument validation, and explicit symbolic analysis. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
