legate.core.Shape.volume#

Shape.volume#

uint64_t

Returns the shape’s volume

Returns:

Volume of the shape

Return type:

int

Notes

If the shape is of an unbound array or store, the call blocks the execution until the shape becomes ready.

Type:

Shape.volume