import TensorFlow as tf
打印当前版本
print(tf.version)
打印gpu是否可用
print(tf.test.is_gpu_avlailable())
检查tensorflow的gpu版本是否可用?
最新推荐文章于 2024-04-05 12:00:54 发布
import TensorFlow as tf
打印当前版本
print(tf.version)
打印gpu是否可用
print(tf.test.is_gpu_avlailable())