API reference
python:irx:irx.builtins.collections.tensor.TensorLayout.ndim
property ndim
ndim: int
Source: packages/irx/src/irx/builtins/collections/tensor.py:72
Return the rank encoded by the layout.
Returns
The rank encoded by the layout.; Type: int