-
Notifications
You must be signed in to change notification settings - Fork 98
[Rewriter] Support specifying node name in rewrites #2474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @justinchuby, @gramalingam , |
|
Thanks!
What are the other parameters? What would be the change to onnx ir? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2474 +/- ##
==========================================
+ Coverage 70.36% 70.37% +0.01%
==========================================
Files 218 218
Lines 26412 26428 +16
Branches 2646 2646
==========================================
+ Hits 18584 18598 +14
- Misses 6922 6923 +1
- Partials 906 907 +1 ☔ View full report in Codecov by Sentry. |
overload: str = "",
graph: ir.Graph | None = None,
doc_string: str | None = None,
metadata_props: dict[str, str] | None = None,
output: ir.Value | None = None,I am not sure if
There is the same Builder class https://github.com/onnx/ir-py/blob/fced9bd53e7830d28d0100fb86342d3b578889ec/src/onnx_ir/_tape.py#L177 |
|
I see. The builder class in onnx-ir is not exposed yet. I want to reason about it's api and verify usage in onnxscript first. So far it's only used in the rewriter. (So no need to update onnx-ir for now) |
6eaa0b7 to
eaab5ab
Compare
Allows passing a node name when defining a rewrite.
eaab5ab to
be1776d
Compare
|
Thank you! |
Allows passing a node name when defining a rewrite. fixes #2435