安装完tensorflow和cuda后,运行检测GPU代码: import tensorflow as tf print('GPU',tf.config.list_physical_devices('GPU')) a = tf.constant(2.) b = tf.constant(3.) print(a*b) 出现报错: 解决办法 将 cudnn64_8.dll 文件手动放入 C:\Windows\System 路径下即可; 再次运行以上代码: