legate.core.shape.Shape.__eq__#

Shape.__eq__(other: object) bool#

Checks whether the shape is identical to a given shape

Parameters:

other (Shape or Iterable[int]) – Shape to compare with

Returns:

True if the shapes are identical

Return type:

bool

Notes

Can block on the producer task