Indeed A1 can address the problem better:
In the proposal, there is a dyn to static pass, this pass will try to convert constants to attributes as much as possible. After this pass, all of the constant shape reshape will become static, and then we can apply CSE easily. Of course, we can also directly run a constant tying pass before the dyn reshape then run CSE --- [Visit Topic](https://discuss.tvm.ai/t/dynamic-ops-in-relay/6909/15) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/eaab4716b65a23e46725e50932496dbbdcc71543ae97b33a465631f354767da5).