Performs the operation __rxor__.
(self: Array, other: Union[int, bool, Array], /)
| 1055 | return self |
| 1056 | |
| 1057 | def __rxor__(self: Array, other: Union[int, bool, Array], /) -> Array: |
| 1058 | """ |
| 1059 | Performs the operation __rxor__. |
| 1060 | """ |
| 1061 | other = self._check_allowed_dtypes(other, "integer or boolean", "__rxor__") |
| 1062 | if other is NotImplemented: |
| 1063 | return other |
| 1064 | self, other = self._normalize_two_args(self, other) |
| 1065 | res = self._array.__rxor__(other._array) |
| 1066 | return self.__class__._new(res) |
| 1067 | |
| 1068 | def to_device(self: Array, device: Device, /, stream: None = None) -> Array: |
| 1069 | if stream is not None: |
nothing calls this directly
no test coverage detected