# tf.config.experimental_list_devices

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/eager/context.py#L1683-L1691) |

List the names of the available devices.

#### View aliases


**Main aliases**

\`tf.contrib.eager.list_devices\`
**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

\`tf.compat.v1.config.experimental_list_devices\`, \`tf.compat.v2.config.experimental_list_devices\`

<br />

    tf.config.experimental_list_devices()

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Names of the available devices, as a `list`. ||

<br />