机器学习/tensorflow

来自康健生活
Kangkk​(留言 | 贡献)2022年1月11日 (二) 03:02的版本 (→安装)

引言

tensorflow 分为 CPU 版本和 GPU 版本。

卸载

安装

/home/kangkk
# cpu
pip3 install tensorflow
# gpu
pip3 install tensorflow-gpu

验证

[jian@kang /home/kangkk]$
python3 -c "import tensorflow as tf; print(tf.__version__)"
2.7.0