As you mentioned, that will need to extend the `TupleGetItemPattern` to allow 
unspecified index. Currently I can only come up with the following workaround:

```
op = is_op(...)
out = is_tuple_get_item(op, 0) | is_tuple_get_item(op, 1) | 
is_tuple_get_item(op, 2)
```

cc @mbrookhart





---
[Visit 
Topic](https://discuss.tvm.ai/t/pattern-matching-for-tuplegetitem/7069/2) 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/96866fbc2e1d4251fb357218acb1e0fe56a3d66e3b015b85175e3b6ec2db9e84).

Reply via email to