Different from the fusion between generic ops, indices are involved. In this
context, we need to re-map the indices for producer since the fused op is built
on consumer's perspective. This patch supports all combination of the fusion
between indexed_generic ops and generic ops, which includes tests case:
- generic op as producer and indexed_generic op as consumer.
- indexed_generic op as producer and generic op as consumer.
- indexed_generic op as producer and indexed_generic op as consumer.
Oh I really like this! It was something I wanted to get to anyway. Thanks for doing it right here!