-
Notifications
You must be signed in to change notification settings - Fork 8
Allow any op as root #112
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
Allow any op as root #112
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there are some expect
s in the validation that may fail when unwrapping a parent if the node is the root (esp. in validate_intergraph_edge
).
We could check that the root has no connections, but what is checked first depend on the traversal order for the node validation.
Also, I don't see where the new Option
s on the builder wrappers come into play.
Otherwise, this looks nice.
to allow for building non-module root HUGR for now only adds DFG builder at root level, other containers to come
for Module and DFG
Have left compositional building via graph inserting as a follow up task #120 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Co-authored-by: Agustín Borgna <[email protected]>
mostly docs
to allow for building non-module root HUGR
Closes #82