Answers for "importing tf 3 in colab"

3

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.
Posted by: Guest on April-26-2020

Python Answers by Framework

Browse Popular Code Answers by Language