tf.experimental.dtensor.fetch_layout

Fetches the layout of a DTensor.

Used in the notebooks

Used in the guide

tensor The DTensor whose layout is to be fetched.

The Layout of this DTensor.

RuntimeError When not called eagerly.