-
Notifications
You must be signed in to change notification settings - Fork 11
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
Added maybe_downcast & hardened TT Attrs and Types to include better support #1253
Conversation
Vraj is this PR still relevant in light of the pybind macros we just discovered? |
Unfortunately no, my task for tomorrow is to refactor the python bindings to adopt this newer structure. I will close this PR and make a new one when that's ready. There are parts of this PR (the extended support for Attrs and Types in the TT, TTNN dialects) that will be transferred over to this new PR though. |
@nsmithtt This PR is now relevant again 🎊. Feel free to review when available |
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, lgtm!
5a7c66d
to
5ee502a
Compare
dyn_cast
instead ofcast
for a safer call signature. Failure will be defined through the function resulting inNone
instead of a full failure.