(self, N=getenv("SUM_N", 256))
| 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() |
| 41 | self.assertEqual(out.item(), N) |
| 42 | |
| 43 | def test_gemm(self, N=getenv("GEMM_N", 64)): |
| 44 | a = Tensor.ones(N,N).contiguous() |
nothing calls this directly
no test coverage detected