MCPcopy
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

fMethod · 0.45
test_producer_simpleMethod · 0.45
test_dedup_usersMethod · 0.45
test_dedupMethod · 0.45
bFunction · 0.45
check_assignFunction · 0.45
forwardMethod · 0.45
test_tinygradMethod · 0.45
test_pytorchMethod · 0.45

Calls 3

realizeMethod · 0.80
zerosMethod · 0.80
contiguousMethod · 0.45

Tested by

no test coverage detected