(self)
| 1194 | self.assertLess(time.perf_counter()-st, 2.0) |
| 1195 | |
| 1196 | def test_recursive_pad(self): |
| 1197 | st = time.perf_counter() |
| 1198 | val = 1.0 |
| 1199 | a = Tensor(val) |
| 1200 | for _ in range(24): a = Tensor.stack(a, a)[0] |
| 1201 | linear = a.schedule_linear() |
| 1202 | self.assertLessEqual(len(linear.src), 1) |
| 1203 | self.assertLess(time.perf_counter()-st, 2.0) |
| 1204 | |
| 1205 | def test_recursive_reshape(self): |
| 1206 | st = time.perf_counter() |
nothing calls this directly
no test coverage detected