Isn't it simply a problem of free variables? I suggest replacing
``` f = relay.Function([], result) ``` with ``` f = relay.Function(relay.analysis.free_vars(result), result) ``` --- [Visit Topic](https://discuss.tvm.apache.org/t/understanding-tvm-relays-partitiongraph-mod-function/8290/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/e6630e9e2b2e00474d1e0b801a4a28c2de7ca70f19287c01243d46847fad1383).