kfeng123 opened a new pull request, #15362: URL: https://github.com/apache/tvm/pull/15362
This PR improves SimplifyClipAndConsecutiveCast pass in several aspects. First, it allows that the dtype of `clip` and the dtype of the last `cast` differ. Second, it allows that there are arbitrary number of `cast` after `clip`. This is achieved via the recursion of patterns. Both of the above two cases araise from the compilation of a prequantized model. See the [pre-RFC](https://discuss.tvm.apache.org/t/on-the-applications-of-the-composition-of-dataflow-patterns/15344?u=kfeng123) -- 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]
