MCPcopy
hub / github.com/tinygrad/tinygrad / compile

Method compile

test/null/test_compile_failures.py:9–10  ·  view source on GitHub ↗
(self, out:Tensor)

Source from the content-addressed store, hash-verified

7
8class TestCompileFailures(unittest.TestCase):
9 def compile(self, out:Tensor):
10 compile_linear(out.schedule_linear())
11
12 def test_interpolate_atari(self):
13 self.compile(Tensor.empty(210, 160, dtype='uint8').interpolate((64, 64)))

Callers 3

test_add_max_ucharMethod · 0.95
test_float16_aluMethod · 0.45

Calls 2

compile_linearFunction · 0.90
schedule_linearMethod · 0.80

Tested by

no test coverage detected