Skip to content

Update Keras related tests to support latest TF version. #1980

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

Merged
merged 3 commits into from
Jun 26, 2022
Merged

Update Keras related tests to support latest TF version. #1980

merged 3 commits into from
Jun 26, 2022

Conversation

fatcat-z
Copy link
Collaborator

Since TF 2.6.0, tensorflow.python.keras namespace will be retired. Some modules and functions are valid after that. So we make some changes to make the test code supports all of TF versions, no matter they are older than 2.6.0, or later than 2.6.0.

Signed-off-by: Jay Zhang [email protected]

@fatcat-z fatcat-z requested a review from hwangdeyu June 25, 2022 14:59
Copy link
Contributor

@hwangdeyu hwangdeyu left a comment

Choose a reason for hiding this comment

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

LGTM!

@fatcat-z fatcat-z marked this pull request as ready for review June 26, 2022 15:42
@fatcat-z fatcat-z enabled auto-merge (squash) June 26, 2022 15:43
@fatcat-z fatcat-z merged commit 3cf62e2 into onnx:main Jun 26, 2022
@fatcat-z fatcat-z deleted the enable_all_tf_ver_for_keras branch June 27, 2022 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants