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