标签:ken 判断 pre rom div backend keras get print
# 查看Keras 是否可使用gpu
from keras import backend as K gpu =K.tensorflow_backend._get_available_gpus() print(gpu)
# 查看tensorflow是否可使用gpu import tensorflow as tf print(tf.test.is_gpu_available())
标签:ken 判断 pre rom div backend keras get print
原文地址:https://www.cnblogs.com/Dean0731/p/12490705.html