tqchen commented on a change in pull request #4684: [Arith] add ShapeVar representing non-neg valued variable in a tensor shape URL: https://github.com/apache/incubator-tvm/pull/4684#discussion_r365611921
########## File path: src/arithmetic/bound_deducer.cc ########## @@ -70,6 +70,40 @@ std::vector<const Object*> GetPath(PrimExpr target, PrimExpr expr) { return v.path_; } +class BoundRemover : public ExprMutator { + public: + PrimExpr Remove(const PrimExpr& e) { + remove_bounded_ = true; Review comment: Can you document its behavior? Is it still necessary, given bound info is no longer wrapped in the assert_ ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services