remove UnaryOps.NEG (#6238)

* Remove UnaryOps.NEG

generated new dataset with
```
time JIT=2 PYTHONPATH=. ./extra/optimization/generate_dataset.sh
gzip /tmp/sops
mv /tmp/sops.gz extra/datasets/
```

* fix that
This commit is contained in:
chenyu
2024-08-22 14:21:39 -04:00
committed by GitHub
parent 6c4ddd6260
commit e745e16441
11 changed files with 16 additions and 27 deletions

View File

@@ -2,7 +2,8 @@
from typing import Tuple
from extra.ops import LazyOp, TernaryOps, BinaryOps, UnaryOps, ReduceOps, BufferOps, MemBuffer, ConstBuffer, MetaOps
from tinygrad.codegen.kernel import Opt, OptOps
from tinygrad.dtype import dtypes
from tinygrad.ops import UOp, UOps
from tinygrad.dtype import dtypes, PtrDType
from tinygrad.shape.shapetracker import ShapeTracker
from tinygrad.shape.view import View
from tinygrad.shape.symbolic import Variable, NumNode