在cmd中输入python,进入到python环境,再输入下面两句 import tensorflow as tf tf.config.list_physical_devices(‘GPU’) 若输出为 则说明GPU可用 相关文章: