yelite commented on PR #14665:
URL: https://github.com/apache/tvm/pull/14665#issuecomment-1520759038
Have we considered keeping this information in a contextual state outside
the IR graph? For example,
```
with TransformTrackingContext() as tracking_context:
mod = FuseOpsByPattern(...)(mod)
...
tracking_context.get_fusion_map()
```
This will reduce the friction when we want to track more specific data
during fusion or other passes, since we don't need to touch the IR definition
to update what gets tracked.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]