import tensorflow as tf import keras print("TensorFlow:", tf.__version__) print("Keras:", keras.__version__)