You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Python] Support operator % on Array/Scalar #55659
Now that modulo / modulo_checked exist since #46901 (floored like Python's %) the implementation of __mod__ could call modulo_checked - similar to other operators calling their own checked kernels.
Note
if implemented, the annotation stubs will need __mod__ added as well (per current state of #55264 as one more alias line in array.pyi __mod__ = __add__)
(and % may be re-added where just removed in #55654)
Activity