In my opinion, analyses should be pure functions, something like `(Expr, Context) -> Expr`. This makes the problem of memoization much simpler: we just have to use both the arguments as a key.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/2588#issuecomment-478364591