Skip to content

Better user experience when the version of TF is not right. #1281

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 4 commits into from
Mar 12, 2020
Merged

Better user experience when the version of TF is not right. #1281

merged 4 commits into from
Mar 12, 2020

Conversation

gabrieldemarmiesse
Copy link
Member

Fix #1277

import tensorflow as tf


warning_template = """
Copy link
Member

Choose a reason for hiding this comment

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

Just curious why this was pulled out of the function? Not likely to be an issue but if we don't need to add a variable to global space then I don't see a reason to?

Copy link
Member Author

@gabrieldemarmiesse gabrieldemarmiesse Mar 12, 2020

Choose a reason for hiding this comment

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

It's just prettier as I don't have to break the indentation in the function to write the message. If you prefer that I put it in the function, I have nothing against that.

Copy link
Member

@seanpmorgan seanpmorgan left a comment

Choose a reason for hiding this comment

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

LGTM thx

@seanpmorgan seanpmorgan merged commit ee4a4f7 into tensorflow:master Mar 12, 2020
@seanpmorgan seanpmorgan added the backport r0.8 Will backport any PR merged with this label to the r0.8 branch label Mar 14, 2020
jrruijli pushed a commit to jrruijli/addons that referenced this pull request Dec 23, 2020
…ow#1281)

* Better user experience when the version of TF is not right.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport r0.8 Will backport any PR merged with this label to the r0.8 branch cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segmentation fault when using tfa.rotate in tf-nightly
3 participants