MCPcopy
hub / github.com/tinygrad/tinygrad / __irshift__

Method __irshift__

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

Source from the content-addressed store, hash-verified

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]
1314
1315 def __eq__(self, x) -> Tensor: return self.eq(x) # type: ignore[override]

Callers 1

Calls 2

assignMethod · 0.95
rshiftMethod · 0.80

Tested by 1