查看tensorflow-gpu是否可用
import tensorflow as tf print(tf.test.is_gpu_available())
如果最后出现了True,则代表可用用,如果出现了False,则不行