multiverstack-intellif opened a new pull request, #13700: URL: https://github.com/apache/tvm/pull/13700
Much of the index computation is duplicated, so this PR is to do common subexpression analyze when doing cache_index. A threshold number is needed when identifying a common sub expr, since we only want to cache the most frequently appeared sub expressions. And an arith helper function is added to help analyze the target expr. A common use case may be call _tvm.arith.detect_common_subexpr()_ and determine based on its result whether to perform cache_index and corresponding threshold. -- 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]
