You cannot use `relay.build(...)` to build a model with control flow. For that, 
you need to use VM.

See for example,

 
https://github.com/apache/incubator-tvm/blob/efe3a79aacd934ea5ffb13170230bf199a473e72/tests/python/frontend/pytorch/test_forward.py#L1914





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/relay-cannot-compile-while-loop/8294/2) 
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/a5129c8bbbd00ca24a4f68bfde8f3e20373427328a8447ed7a2abe43cbeafa45).

Reply via email to