测试tensorflowgpu版本是否可用

输入一下代码即可

import tensorflow as tf
print(tf.test.is_gpu_available())

  

posted @ 2019-12-03 10:01  you-wh  阅读(10873)  评论(0编辑  收藏  举报
Fork me on GitHub