View the installed tensorflow version number and path

Enter python to enter the python command line

import tensorflow as tf

tf.__version__

The query tensorflow installation path is:

tf.__path__

The result is as follows:


Reprinted in: https://blog.csdn.net/odailidong/article/details/78767953

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325589552&siteId=291194637