colab tensorflow version change
%tensorflow_version 1.x import tensorflow print(tensorflow.__version__)
colab tensorflow version change
%tensorflow_version 1.x import tensorflow print(tensorflow.__version__)
tf 1 compatible colab
Specifying the TensorFlow version Running import tensorflow will import the default version (currently 2.x). You can use 1.x by running a cell with the %tensorflow_version 1.x magic before you run import tensorflow.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us