Skip to content
Open
Changes from 4 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 @@ -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.
Copy link
Member

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.

Copy link
Author

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
Copy link
Member

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.

Copy link
Author

Choose a reason for hiding this comment

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

Updated.

*/
private boolean reduceRetracingParamExists;

Expand Down Expand Up @@ -245,24 +245,26 @@ public boolean hasReduceRetracingParam() {
}

/**
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_compile.
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_compile. Since jit_compile and
* experimental_compile (deprecated) have the same functionalities, when we parse these parameters together it is stored into the
* same boolean variable. For more information, you can see this link
* https://tensorflow.org/versions/r2.9/api_docs/python/tf/function#experimental_compile
*
* @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.
return this.jitCompileParamExists;
}

/**
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_relax_shapes.
* True iff this {@link Function}'s {@link decoratorsType} has parameter experimental_relax_shapes. Since reduce_retracing and
* experimental_relax_shapes (deprecated) have the same functionalities, when we parse these parameters together it is stored into
* the same boolean variable. For more information, you can see this link
* https://tensorflow.org/versions/r2.9/api_docs/python/tf/function#experimental_relax_shapes
*
* @return True iff this {@link Function} has parameter experimental_relax_shapes.
*/
public boolean hasExperimentalRelaxShapesParam() {
// Since reduce_retracing and experimental_relax_shapes (deprecated) have the same functionalities, when we parse these
// parameters together and store it into the same boolean variable.
return this.reduceRetracingParamExists;
}

Expand Down