Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ add
Method
add
test/backend/test_jit.py:41–41 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
39
def
test_simple_jit(self):
40
@TinyJit
41
def
add(a, b):
return
(a+b).realize()
42
_simple_test(add)
43
44
@unittest.skipUnless(Device.DEFAULT ==
"CPU"
,
"core_id is a CPU runtimevar"
)
Callers
15
test_link_sched_codegen
Method · 0.45
f
Method · 0.45
test_producer_simple
Method · 0.45
test_dedup_users
Method · 0.45
test_reconstruct_debug
Method · 0.45
test_dedup
Method · 0.45
test_valid_becomes_const1_z3
Method · 0.45
b
Function · 0.45
check_assign
Function · 0.45
forward
Method · 0.45
test_tinygrad
Method · 0.45
test_pytorch
Method · 0.45
Calls
3
realize
Method · 0.80
zeros
Method · 0.80
contiguous
Method · 0.45
Tested by
no test coverage detected