安装tensorflow2.0

pip install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

import tensorflow as tf
print(tf.__version__)
#输出'2.0.0-alpha0'
print(tf.test.is_gpu_available())
posted @ 2019-10-15 13:53  TIMLONG  阅读(311)  评论(0)    收藏  举报