hmm. after a bit of thinking, doesnt this pass force visit to all children,
even though that dont necessarily need it? will making the right hand side a
lazy value make more sense?
---
[Visit
Topic](https://discuss.tvm.ai/t/performing-relay-passes-non-recursively/5696/18)
to respond.
writing trampoline by hand is probably the way to go for those passes.
---
[Visit
Topic](https://discuss.tvm.ai/t/performing-relay-passes-non-recursively/5696/17)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](htt
@junrushao1994 there is no plan to make relay dynamically typed. However, you
can still do the same by roughly:
data Any =
| AnyIntScalar (Tensor[(), Int])
| AnyFunction (Any -> Any)
| AnyTuple (Any, Any)
...
---
[Visit
Topic](https://discuss.tvm.ai/t/discussion-adding-a-function-to-r
@junrushao1994 there are PR to add mutual recursion into relay. In general, the
only reason a relay program cant typecheck is because it is wrong, thus we want
to catch this as early as possible. For case 1/2, it is still possible to call
the type inference function yourself. What is your use
@Ruinhuang see https://github.com/dmlc/tvm/pull/3729.
---
[Visit
Topic](https://discuss.tvm.ai/t/relay-concatenate-downcast-from-relay-reftype-to-relay-tensortype-failed/3595/7)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [c
@Ruinhuang I fixed it in add_grad, will upstream rn.
---
[Visit
Topic](https://discuss.tvm.ai/t/relay-concatenate-downcast-from-relay-reftype-to-relay-tensortype-failed/3595/6)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [cl
> I’m wondering whether it has any problem such as what @junrushao1994
> mentioned.
If there are unknown alias/unknown add_to in other places of the code, it
cannot be model as option 1. Let's hope it doesnt happend.
---
[Visit
Topic](https://discuss.tvm.ai/t/rfc-implement-add-to-semanti
If I understand correctly, `add_to(a, b)` increment a, with b. During this
process, the value of a will be changed.
The second approach is a, imho, RED FLAG idea, that I dont think we should do.
If add_to is implemented as above, it will greatly complicate Operator Fusion,
Gradient, Partial Eva
I know how to fix it, and I will in a few days.
---
[Visit
Topic](https://discuss.tvm.ai/t/relay-higher-order-ad-broken-in-some-cases/3036/3)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.ai/e