# tf.experimental.dtensor.client_id

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.11.1/tensorflow/dtensor/python/config.py#L35-L46) |

Returns this client's ID.

    tf.experimental.dtensor.client_id() -> int