import tensorflow as tf print("TF Version:", tf.__version__) print("Is GPU available:", tf.test.is_gpu_available())