@MarisaKirisame Yes, this is what the decompilation pass will do. But eventually interpreter/aot/vm has to deal with `is_X`/`unpack_S` function calls. There are 2 ways to handle them. One way is to change relay core to handle `is_*` and `unpack_*` specially. Another way is to dynamically generate these functions as normal relay function, but that requires some pattern matching support. Which do you think you would choose?
-- 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/3874#issuecomment-527671627