Tensorflow中查看gpu是否可用
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                Tensorflow中查看gpu是否可用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                Tensorflow中查看gpu是否可用
使用tf.test.is_gpu_available()函數可直接返回
?
Tensorflow測試程序
# Python import tensorflow as tf hello = tf.constant('Hello, TensorFlow!') sess = tf.Session() print(sess.run(hello)) 創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的Tensorflow中查看gpu是否可用的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 深度学习-服务端训练+android客户
- 下一篇: android 页面无法点击,为什么点击
