yzh119 commented on code in PR #14184:
URL: https://github.com/apache/tvm/pull/14184#discussion_r1127682660
##########
src/arith/iter_affine_map.cc:
##########
@@ -2147,7 +2147,8 @@ class InverseAffineIterMapTransformer {
// Case 1: Propagate to the input node directly when the sum expression
has only one components
if (iter_map_expr->args.size() == 1) {
const auto& source = iter_map_expr->args[0];
- backprop_.Set(source, backprop_.at(source) + input);
+ ICHECK(analyzer_->CanProveEqual(abs(source->scale), 1));
Review Comment:
what's the necessity of using `abs` here?
--
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]