-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add missing tf.function parameters #142
base: main
Are you sure you want to change the base?
Add missing tf.function parameters #142
Conversation
edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Outdated
Show resolved
Hide resolved
What is the status of this one? Are there changes for me to review since the last time I saw it? Also, it looks like there's a conflict now. |
I had a look at the conflict. I don't think I can resolve it. |
I resolved the conflict. We have a pending discussion. |
edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Show resolved
Hide resolved
edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Show resolved
Hide resolved
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.
Not sure how these convos got resolved.
* True iff this {@link Function}'s {@link decoratorsType} has parameter reduce_retracing. | ||
* True iff this {@link Function}'s {@link decoratorsType} has parameter reduce_retracing and deprecated name | ||
* experimental_relax_shapes. For more information, you can see this | ||
* <a href="https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/function">URL</a>. |
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.
Just the URL is fine; we don't need HTML. I still don't see the HTML anchor reference to the specific field.
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 have added it.
edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Show resolved
Hide resolved
edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Show resolved
Hide resolved
@@ -93,14 +93,14 @@ public class HybridizationParameters { | |||
|
|||
/** | |||
* True iff this {@link Function}'s {@link decoratorsType} has parameter jit_compile and deprecated name experimental_compile. For | |||
* more information, you can see this <a href="https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/function">URL</a>. | |||
* more information, you can see this https://tensorflow.org/versions/r2.9/api_docs/python/tf/function#experimental_compile. |
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.
The anchor doesn't match the field name.
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.
Updated.
*/ | ||
private boolean jitCompileParamExists; | ||
|
||
/** | ||
* True iff this {@link Function}'s {@link decoratorsType} has parameter reduce_retracing and deprecated name | ||
* experimental_relax_shapes. For more information, you can see this | ||
* <a href="https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/function">URL</a>. | ||
* https://tensorflow.org/versions/r2.9/api_docs/python/tf/function#experimental_relax_shapes |
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.
The anchor doesn't match the field name.
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.
Updated.
Fixes #139.
Commits
git diff
andgit status
to check my work carefully before committing.Expectations
We should now have the params
experimental_compile
andexperimental_relax_shapes
. We added getters to those tf.function parameters and added an additional check for these in the tests.Testing
git stash
to temporarily reset the working directory).Added another conditional statement to reflect the missing tf.function parameters.
Final Checks