tensorflow-gpu==1.14.0 测试cuda是否成功

代码:


import tensorflow as tf

flag = tf.test.is_gpu_available()
print(flag)



image





相关:


2025年 —— ubuntu24.04 安装tensorflow==1.14.0 —— python3.7版本







posted on 2026-02-05 22:16  Angry_Panda  阅读(0)  评论(0)    收藏  举报

导航