首页 > 技术文章 > 检测Tensorflow可用设备(比如:显卡)

DragonStart 2019-04-13 10:55 原文

打开python命令行,输入以下命令:

python -c "from tensorflow.python.client import device_lib;device_lib.list_local_devices()"

推荐阅读