<br />

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

Return the default mesh under the current dtensor device context.

    tf.experimental.dtensor.get_default_mesh() -> Optional[https://www.tensorflow.org/api_docs/python/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 />