acm-icpcer

检验代码:

import tensorflow as tf
a=tf.test.is_built_with_cuda()
b=tf.test.is_gpu_available(cuda_only=False,min_cuda_compute_capability=None)
print(a)
print(b)

执行这段代码应该显示为:

 

检验代码2:

import tensorflow as tf
hello = tf.constant(\'Hello, TensorFlow!\')
sess = tf.Session()
print(sess.run(hello))

安装成功的正确结果应该为:

 

验证环境:

tensorflow-gpu1.15.0

分类:

技术点:

相关文章:

  • 2021-09-28
  • 2021-10-21
  • 2021-09-15
  • 2021-10-18
  • 2019-03-26
  • 2021-11-24
  • 2022-03-03
  • 2021-08-14
猜你喜欢
  • 2021-11-18
  • 2022-12-23
  • 2021-11-18
  • 2022-01-19
  • 2022-12-23
  • 2022-01-19
相关资源
相似解决方案