比如查看numpy版本:
python -c "import numpy; print numpy.version.version"
查看tensorflow版本:
python3 -c "import tensorflow as tf; print(tf.__version__)"
比如查看numpy版本:
python -c "import numpy; print numpy.version.version"
查看tensorflow版本:
python3 -c "import tensorflow as tf; print(tf.__version__)"