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

Method test_simple_repeat

test/backend/test_ops.py:2888–2890  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2886 helper_test_op([(3, 3)], lambda x: x.repeat_interleave(2, -2))
2887
2888 def test_simple_repeat(self):
2889 repeats = [3, 3, 4]
2890 helper_test_op([(3, 3)], lambda x: x.repeat(*repeats), lambda x: x.repeat(repeats))
2891
2892 def test_clip(self):
2893 helper_test_op([(45,65)], lambda x: x.clip(-2.3, 1.2))

Callers

nothing calls this directly

Calls 2

helper_test_opFunction · 0.85
repeatMethod · 0.80

Tested by

no test coverage detected