In [0]:
!pip install tf-nightly-2.0-preview >/dev/null

In [6]:
import tensorflow as tf
# tf 2.0 might show as 1.13-dev
print(tf.__version__)


1.13.0-dev20190114

In [7]:
from tensorflow import keras
print(keras.__version__)


2.2.4-tf

In [0]: