MCPcopy
hub / github.com/tinygrad/tinygrad / __itruediv__

Method __itruediv__

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

Source from the content-addressed store, hash-verified

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]
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]

Callers

nothing calls this directly

Calls 2

assignMethod · 0.95
divMethod · 0.45

Tested by

no test coverage detected