Created
March 17, 2020 10:23
-
-
Save frenzy2106/219eb3969a8b851e705ff8bb7465f4ad to your computer and use it in GitHub Desktop.
Ensure only TensorFlow 2.x is used
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
# %tensorflow_version only exists in Colab. | |
%tensorflow_version 2.x | |
except Exception: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment