how to run old version tensorflow notebook on Google colab with tensorflow 2.0
%tensorflow_version 1.x
import tensorflow as tf
You can install tensorflow 2.0 as described below
!pip install tensorflow==2.0
Please find the gist here for reference.
Incase if you are looking at the TF1.x version, please try !pip install tensorflow==1.15.0
instead of %tensorflow_version 1.x
.
Thank you