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

Method test_mul

test/null/test_gradient.py:56–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 # binary ops unit
55 def test_add(self): self._test_two_input_function(lambda x,y: x+y)
56 def test_mul(self): self._test_two_input_function(lambda x,y: x*y)
57
58 # chain rule
59 def test_chain(self): self._test_one_input_function(lambda x: x.sin().sqrt())

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected