legate.core.shape.Shape.__mod__#

Shape.__mod__(other: Union[Shape, int, Iterable[int]]) Shape#

Returns the result of element-wise modulo operation

Parameters:

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

Returns:

Result of element-wise modulo operation

Return type:

bool

Notes

Can block on the producer task