- You can check the current installed version of TensorFlow in a Python code by using the following code:
import tensorflow as tf
print(tf.__version__)
- You can also check the TensorFlow version by running the following command in the command line:
pip show tensorflow
- You can also check the TensorFlow version by running the following code in Jupyter Notebook.
!pip show tensorflow
- You can also check the TensorFlow version by running the following command in the command line.
pip freeze | grep tensorflow