legate.core.shape.Shape.ndim#

property Shape.ndim: int#

Dimension of the shape. Unlike the extents property, this is non-blocking.

Returns:

Dimension of the shape

Return type:

int