Q:

colab tensorflow version change

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.
3
%tensorflow_version 1.x

import tensorflow
print(tensorflow.__version__)
1

New to Communities?

Join the community