(self)
| 1012 | |
| 1013 | class TestSwizzle(unittest.TestCase): |
| 1014 | def test_softmax_one_kernel(self): |
| 1015 | Tensor.manual_seed(0) |
| 1016 | with Context(DEBUG=0, TRACK_MATCH_STATS=0): |
| 1017 | a = Tensor.randn(32, 32).realize() |
| 1018 | t = a.softmax() |
| 1019 | check_schedule(t, 3) # TODO: 1? |
| 1020 | |
| 1021 | def test_argmax_one_kernel(self): |
| 1022 | Tensor.manual_seed(0) |
nothing calls this directly
no test coverage detected