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