legate.core.Shape.__len__#

Shape.__len__()#

Returns the number of dimensions of this shape

Returns:

Number of dimensions

Return type:

int

Notes

Unlike other shape-related queries, this call is non-blocking