Skip to content
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

No need to manually specify version in notebooks #3451

Closed
ManishAradwad opened this issue Mar 31, 2020 · 1 comment · Fixed by #3459
Closed

No need to manually specify version in notebooks #3451

ManishAradwad opened this issue Mar 31, 2020 · 1 comment · Fixed by #3459

Comments

@ManishAradwad
Copy link
Contributor

Since colab now by default imports tensorflow 2.x, there is no need to manually specify import version as below:

  # %tensorflow_version only exists in Colab.
  %tensorflow_version 2.x
except Exception:
  pass
@wchargin
Copy link
Contributor

Hi @ManishAradwad—thanks for the report! Good point. It looks like the
TensorFlow docs folks have removed %tensorflow_version from the main
docs as well
, so this change sounds good to me. Thanks for sending
us a PR—I’ll take a look.

@wchargin wchargin assigned wchargin and unassigned rmothukuru Mar 31, 2020
wchargin pushed a commit that referenced this issue Apr 2, 2020
Colab now uses TensorFlow 2.x by default, so `%tensorflow_version 2.x`
is no longer required. Fixes #3451.
bileschi pushed a commit to bileschi/tensorboard that referenced this issue Apr 15, 2020
Colab now uses TensorFlow 2.x by default, so `%tensorflow_version 2.x`
is no longer required. Fixes tensorflow#3451.
bileschi pushed a commit that referenced this issue Apr 15, 2020
Colab now uses TensorFlow 2.x by default, so `%tensorflow_version 2.x`
is no longer required. Fixes #3451.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment