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

Search documentation

Type to search.