文档
注册

安装TensorFlow

  • TensorFlow1.15.0配套的Python版本是:Python3.7.x(3.7.5~3.7.11)。
  • TensorFlow2.6.5配套的Python版本是:Python3.7.x(3.7.5~3.7.11)、Python3.8.x(3.8.0~3.8.11)、Python3.9.x(3.9.0~3.9.2)。
  • TensorFlow2.6.5存在漏洞,请参考相关漏洞及其修复方案处理。

系统要求等具体请参考TensorFlow官网。安装TensorFlow后可以进行算子开发验证、训练业务开发。

安装命令参考如下:

  • 安装TensorFlow1.15.0
    pip3 install tensorflow==1.15.0 --no-index --find-links  https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/MindX/OpenSource/python/index.html --trusted-host ascend-repo.obs.cn-east-2.myhuaweicloud.com
  • 安装TensorFlow2.6.5(该方式仅支持Python3.7)
    pip3 install tensorflow==2.6.5 --no-index --find-links  https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/MindX/OpenSource/python/index.html --trusted-host ascend-repo.obs.cn-east-2.myhuaweicloud.com

若用户想使用源码编译方式安装TensorFlow,请参见源码编译安装TensorFlow

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词