-
Notifications
You must be signed in to change notification settings - Fork 134
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
Tuning API #961
Tuning API #961
Conversation
(cherry picked from commit 82f4917)
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.
In general, it looks good. I have minor questions and remarks. If it is not too much work, could we get as part of this PR some document somewhere explaining a bit the tuning API? There are also some terms, e.g., on-the-fly recomputation, which I am not sure what they mean in the context of sugraph fusion. It would be great if they could be explained somewhere so that it makes future developments easier.
|
||
class FalseConditionElimination(transformation.MultiStateTransformation): | ||
""" | ||
If a state transition condition is always true, removes condition from edge. |
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.
Is the docstring correct? The transformation name sounds like it handles conditions that are never satisfied.
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.
Fixed
Good idea with the documentation. The API itself wasn't fixed at the beginning and was shifting around, hence it was not well documented. Now it seems stable enough to document and update the docs later. For now I applied the minor fixes. |
@alexnick83 I added some documentation. I'll leave making a good sample for a future PR. |
dace.data.make_array_from_descriptor
for easy creation of arrays mimicking data descriptor allocation schemenp.rot90
replacement