View source on GitHub |
Return the default mesh under the current dtensor device context.
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.
Returns | |
---|---|
The current default mesh for the dtensor device context. |