Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tinygrad/tinygrad
/ test_add
Method
test_add
test/null/test_gradient.py:55–55 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
53
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
Callers
nothing calls this directly
Calls
1
_test_two_input_function
Method · 0.95
Tested by
no test coverage detected