Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,15 @@ public class HybridizationParameters {
private boolean inputSignatureParamExists;

/**
* True iff this {@link Function}'s {@link decoratorsType} has parameter jit_compile.
* 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>.
*/
private boolean jitCompileParamExists;

/**
* 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>.
Copy link
Member

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added it.

*/
private boolean reduceRetracingParamExists;

Expand Down Expand Up @@ -247,8 +250,8 @@ public boolean hasReduceRetracingParam() {
* @return True iff this {@link Function} has parameter experimental_compile.
*/
public boolean hasExperimentalCompileParam() {
// Since jit_compile and experimental_compile (deprecated) have the same functionalities, when we parse these parameters together
// and store it into the same boolean variable.
// Since jit_compile and experimental_compile (deprecated) have the same functionalities, when we parse these parameters
// together and store it into the same boolean variable.
return this.jitCompileParamExists;
}

Expand Down