(self)
| 33 | self.assertListEqual(out.tolist(), [2]*16) |
| 34 | |
| 35 | def test_cat(self): |
| 36 | out = Tensor.cat(Tensor.ones(8).contiguous(), Tensor.zeros(8).contiguous()) |
| 37 | self.assertListEqual(out.tolist(), [1]*8+[0]*8) |
| 38 | |
| 39 | def test_sum(self, N=getenv("SUM_N", 256)): |
| 40 | out = Tensor.ones(N).contiguous().sum() |
nothing calls this directly
no test coverage detected