-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[jit] Add the rest of the dict API
#21979
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
wanchaol
left a comment
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.
looks good, only have nits. also clang-tidy seems complaining.
wanchaol
left a comment
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.
assuming CI passes
Summary: This adds the rest of the `dict.???` methods that were missing Pull Request resolved: pytorch/pytorch#21979 Pulled By: driazati Differential Revision: D15999938 fbshipit-source-id: 7bc2a55e3f791015a0ff2e3731703075cf0770ee
Summary: This adds the rest of the `dict.???` methods that were missing Pull Request resolved: pytorch/pytorch#21979 Pulled By: driazati Differential Revision: D16023573 fbshipit-source-id: 3ea9bd905090e2a176af654a8ca98c7d965ea679
| case prim::Print: | ||
| case prim::RaiseException: | ||
| case prim::SetAttr: | ||
| case aten::clear: |
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.
You shouldn't have to add either of these to hasSideEffects if the aliasing annotation is correct
Summary: This adds the rest of the `dict.???` methods that were missing Pull Request resolved: pytorch#21979 Pulled By: driazati Differential Revision: D16023573 fbshipit-source-id: 3ea9bd905090e2a176af654a8ca98c7d965ea679
This adds the rest of the
dict.???methods that were missingDifferential Revision: D16023573