Ooh, good catch, sorry for this. I mostly left that check in as a debug tool for developing passes, but you're right, the partitioned graph won't match anymore if we're doing more specific things, like matching on names, or possibly matching on types. I think maybe we should just remove the check, or leave it there but comment it out so it's only used for pass development, not user-facing workloads.
--- [Visit Topic](https://discuss.tvm.apache.org/t/mergecomposite-error-when-defining-custom-pattern/8505/3) 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/57b4f8ce52700ff4d60749c81d96239ebe601fa4b39f52e79ea34e725b1b07b4).