<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.15.1/tensorflow/dtensor/python/api.py#L115-L128) |

Return the default mesh under the current dtensor device context.

```python
tf.experimental.dtensor.get_default_mesh() -> Optional[`tf.experimental.dtensor.Mesh`]
```

In the case that dtensor device system is not initialized, this function
will return None.

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The current default mesh for the dtensor device context. ||

<br />