MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / __ixor__

Method __ixor__

tinygrad/tensor.py:1310–1310  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1308 def __iand__(self, x) -> Tensor: return self.assign(self.bitwise_and(x)) # type: ignore[misc]
1309 def __ior__(self, x) -> Tensor: return self.assign(self.bitwise_or(x)) # type: ignore[misc]
1310 def __ixor__(self, x) -> Tensor: return self.assign(self.bitwise_xor(x)) # type: ignore[misc]
1311 def __ilshift__(self, x) -> Tensor: return self.assign(self.lshift(x)) # type: ignore[misc]
1312 def __irshift__(self, x) -> Tensor: return self.assign(self.rshift(x)) # type: ignore[misc]
1313 def __imatmul__(self, x) -> Tensor: return self.assign(self.matmul(x)) # type: ignore[misc]

Callers

nothing calls this directly

Calls 2

assignMethod · 0.95
bitwise_xorMethod · 0.80

Tested by

no test coverage detected