legate.core.shape.Shape.volume#

Shape.volume() int#

Returns the shape’s volume

Returns:

Volume of the shape

Return type:

int

Notes

Can block on the producer task