-
Notifications
You must be signed in to change notification settings - Fork 615
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
Better user experience when the version of TF is not right. #1281
Conversation
import tensorflow as tf | ||
|
||
|
||
warning_template = """ |
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 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?
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.
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.
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.
LGTM thx
…ow#1281) * Better user experience when the version of TF is not right.
Fix #1277