MCPcopy
hub / github.com/tinygrad/tinygrad / __ipow__

Method __ipow__

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

Source from the content-addressed store, hash-verified

1305 def __itruediv__(self, x) -> Tensor: return self.assign(self.div(x)) # type: ignore[misc]
1306 def __ifloordiv__(self, x) -> Tensor: return self.assign(self.__floordiv__(x)) # type: ignore[misc]
1307 def __ipow__(self, x) -> Tensor: return self.assign(self.pow(x)) # type: ignore[misc]
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]

Callers

nothing calls this directly

Calls 2

assignMethod · 0.95
powMethod · 0.80

Tested by

no test coverage detected