[TVM Discuss] [Development] [WIP][Relay] Mutual Recursion Development

2020-06-28 Thread Andrew Liu via TVM Discuss
Hello friends, I'm working on adding a type infer pass that supports mutually recursive functions in Relay. However, the type_infer pass seems to use some in-between implementation of Algorithm W and Wand's Algorithm and isn't very unintuitive. I made a WIP https://github.com/apache/incubator

[apache/incubator-tvm] [Realy][RFC] Enhanced debugging for Relay pass (#5096)

2020-03-19 Thread Andrew Liu
# Motivation Working and discussing with @MarisaKirisame , we ran into a reoccurring issue when developing Relay passes: it is unclear whether a failed pass is at fault or an earlier pass which may have corrupted the AST. This makes errors in Relay passes harder to locate, especially when compl