Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.eager.list_devices

tf.contrib.eager.list_devices()

Defined in tensorflow/python/eager/context.py.

List the names of the available devices.

Returns:

Names of the available devices, as a list.