(self)
| 806 | self.assertEqual(linear.src[2].src[1].dtype, dtypes.float) |
| 807 | |
| 808 | def test_softmax_backward(self): |
| 809 | Tensor.manual_seed(0) |
| 810 | x = Tensor.randn(4, 12, 64, 64).realize() |
| 811 | x.softmax().sum().backward() |
| 812 | run_linear(*check_schedule(x.grad, 4)) |
| 813 | |
| 814 | def test_scaled_dot_product_attention_fusion(self): |
| 815 | x, y, z, m = (Tensor.empty(32, 8, 16, 16) for _ in range(4)) |
nothing calls this directly
no test coverage detected