-
Notifications
You must be signed in to change notification settings - Fork 350
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
Support aten extend #892
Support aten extend #892
Conversation
Signed-off-by: Ruoqian Guo <[email protected]>
Signed-off-by: Ruoqian Guo <[email protected]>
This modifies the variable contract to allow requesting of mutable handles to `IValue`s which previously were provided only as `const`. Now every IValue pointer is not `const` within `Var`, but in order to get a `const` handle you use IValueMut. This supports the evaluation of inplace operations and makes state changes explicit rather than implicit. Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
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.
Code conforms to C++ style guidelines
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.
Code conforms to Python style guidelines
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.
Code conforms to C++ style guidelines
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.
Code conforms to Python style guidelines
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.
tests pass. LGTM
Description
Changes some rules about Vars in the conversion context, allowing evaluators to request mutable handles to support in-place operations explicitly
Closes #704
Type of change
Please delete options that are not relevant and/or add your own.
Checklist: