Устройства Tensorfow List

from tensorflow.python.client import device_lib

device_lib.list_local_devices()
Space Scooter