Hzfengsy opened a new pull request, #13964: URL: https://github.com/apache/tvm/pull/13964
The current `fuse_ops.cc` contains the following parts: 1. `IndexedForwardGraph` and `DominatorTree` which are used for graph partitioning 2. A Relay Expr visitor to create the `DominatorTree` 3. A Relay Expr mutator to fuse the ops This PR separates the graph partitioning code from `fuse_ops.cc` and moves it to the analysis folder, for: 1. Better code organization and readability as the graph partitioning code is quite long and not directly related to the fusion mutator 2. Possible reuse opportunities for other fusion passes in Relax NOTE: we won't bring relax fusion in `main` branch for now, but this pr is still reasonable for `main`. cc @tqchen -- 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]
