Linux 拨号vps windows公众号手机端

怎么查看tensorflow版本

lewis 6年前 (2020-01-29) 阅读数 9 #大数据
文章标签 tensorflow

要查看TensorFlow的版本,可以通过以下步骤:

  1. 打开Python交互式环境,可以使用命令行工具或者Jupyter Notebook。
  2. 导入TensorFlow库:import tensorflow as tf
  3. 使用tf.__version__命令来查看TensorFlow的版本号。

例如,在Python交互式环境中输入以下代码:

import tensorflow as tf
print(tf.__version__)

运行后会输出当前安装的TensorFlow版本号。

版权声明

本文仅代表作者观点,不代表米安网络立场。

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

热门