(self)
| 132 | self.assertEqual(b.uop.base.buffer.size, 4) |
| 133 | |
| 134 | def test_contiguous_view_realizes(self): |
| 135 | a = Tensor.empty(4) |
| 136 | b = a.expand((4, 4)).contiguous() |
| 137 | check_schedule(b, 1) |
| 138 | self.assertEqual(b.uop.base.buffer.size, 16) |
| 139 | |
| 140 | class TestSimpleSchedule(unittest.TestCase): |
| 141 | def test_reduce_doesnt_split(self): |
nothing calls this directly
no test coverage detected