legate.core.shape.Shape.strides#

Shape.strides() Shape#

Computes strides of the shape. The last dimension is considered the most rapidly changing one. For example, if the shape is (3, 4, 5), the strides are

(20, 5, 1)
Returns:

Strides of the shape

Return type:

Shape

Notes

Can block on the producer task