Windows上如何查看Tensorflow的版本?

以Windows平台为例,如何查看Tensorflow的版本呢?

代码如下:

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>> import tensorflow as tf
>>> print(tf.__version__)
1.2.0

By Code问答

发表评论

电子邮件地址不会被公开。 必填项已用*标注

21 − 18 =