The title says it all. I'm using Ubuntu 16.04 Long Term Support.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- batch_dot with variable batch size in Keras
- How to get the background from multiple images by
- Evil ctypes hack in python
If you're using anaconda distribution of Python,
To check it using Jupyter Notebook (IPython Notebook)
Here -c represents program passed in as string (terminates option list)
This depends on how you installed TensorFlow. I am going to use the same headings used by TensorFlow's installation instructions to structure this answer.
Pip installation
Run:
Note that
python
is symlinked to/usr/bin/python3
in some Linux distributions, so usepython
instead ofpython3
in these cases.pip list | grep tensorflow
for Python 2 orpip3 list | grep tensorflow
for Python 3 will also show the version of Tensorflow installed.Virtualenv installation
Run:
pip list | grep tensorflow
will also show the version of Tensorflow installed.For example, I have installed TensorFlow 0.9.0 in a
virtualenv
for Python 3. So, I get:If you have installed via pip, just run the following
To get more information about tensorflow and its options you can use below command: