jroesch commented on a change in pull request #5144: [Relay][VM] Memory planner (part 1) URL: https://github.com/apache/incubator-tvm/pull/5144#discussion_r410418958
########## File path: python/tvm/relay/def_use.py ########## @@ -0,0 +1,42 @@ +from . import expr +from .expr_functor import ExprVisitor +from .analysis import free_vars + +import attr +from typing import List, Dict + [email protected](auto_attribs=True) +class DefUse: + defn: expr.Var + uses: List[expr.Expr] + +class DefUseAnalysis(ExprVisitor): Review comment: This was in prep for the next piece I can remove from this PR. ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
