(self, x)
| 1300 | |
| 1301 | # unlike Tensors, UOps are immutable, so these don't go in mixin |
| 1302 | def __iadd__(self, x) -> Tensor: return self.assign(self.add(x)) # type: ignore[misc] |
| 1303 | def __isub__(self, x) -> Tensor: return self.assign(self.sub(x)) # type: ignore[misc] |
| 1304 | def __imul__(self, x) -> Tensor: return self.assign(self.mul(x)) # type: ignore[misc] |
| 1305 | def __itruediv__(self, x) -> Tensor: return self.assign(self.div(x)) # type: ignore[misc] |