Add View lt support back [pr] (#8407)

* Revert "remove unused View.t and lt [pr] (#8374)"

This reverts commit 8fdcb60461.

* green test_masked_const_elementwise
This commit is contained in:
qazal
2024-12-25 19:09:59 +02:00
committed by GitHub
parent 4cbe5919d6
commit 313bdfa43f
2 changed files with 6 additions and 2 deletions

View File

@@ -1992,8 +1992,6 @@ class TestBigGraph(unittest.TestCase):
sink = tensor_rewrite(a)
assert UPat.cvar().match(sink, {})
# failure: View doesn't support __lt__, UOp.tuplize needs it.
@unittest.expectedFailure
def test_masked_const_elementwise(self):
a = Tensor.eye(10)@Tensor.eye(10)
sink = tensor_rewrite(a)