tensorflow打印可用设备列表

from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())

posted @ 2020-02-26 00:43  吃饱就睡  阅读(414)  评论(0)    收藏  举报