Watch talks from the 2019 TensorFlow Dev Summit Watch now

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.