📜  tensorflow 版本检查 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:07.380000             🧑  作者: Mango

代码示例6
python -c 'import tensorflow as tf; print(tf.__version__)'  # for Python 2
python3 -c 'import tensorflow as tf; print(tf.__version__)'  # for Python 3