How to check TensorFlow version

In this article, you’ll see how to check the TensorFlow version in Python. You just need to run this code in your IDE. It will show you the version of TensorFlow that is installed on your system.

import tensorflow as tf
print(tf.__version__)
TensorFlow Version

If you want to update the TensorFlow version, then use the following code. I recommend you get this book, “Deep Learning with TensorFlow 2 and Keras”.

pip install tensorflow --upgrade

Leave a Comment

Your email address will not be published.