Missed TensorFlow World? Check out the recap. Learn more

tf.config.experimental_list_devices

TensorFlow 1 version View source on GitHub

List the names of the available devices.

Aliases:

tf.config.experimental_list_devices()

Returns:

Names of the available devices, as a list.