Check the installed tensorflow version

Due to different tensorflow versions, some function calls may also be changed. At this time, you may need to check the tensorflow version. You can enter the query command in the terminal as follows:

python

import tensorflow as tf

tf.__version__

The query tensorflow installation path is:

tf.__path__

The query results are as follows:

 

pip show tensorflow

Guess you like

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