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.