Hello, I was working on Relax IR module and trying to optimize certain patterns. I am going through relax pattern matcher examples and listed down below questions.
pre and post ops information will be available in the callback function when using Relay’s pattern matcher. But I don’t see any such information in rewriter function definition for Relax pattern matcher. How to we retrieve pre and post ops when using relax pattern matcher? Pattern of Interest:
op_x > nn.maxpool > op_y
Can we identify Topi ops using relax pattern matcher?