tinygrad/extra/datasets
qazal 982086f54c
UOps.VALID try 2 (#6623)
* make UOps.VALID compile

* fixable tests

* bufs dedup

* cleanup the CONST spec

* regenerate dataset with graph_rewrite

```py
def rewrite_const(const:UOp, st_src:UOp) -> UOp:
  st: ShapeTracker = st_src.arg
  return UOp(UOps.VALID, dtypes.bool, (st.to_uop(),)).where(UOp.const(const.dtype, const.arg), UOp.const(const.dtype, 0))
pm = PatternMatcher([(UPat(UOps.CONST, name="const", src=(UPat(UOps.SHAPETRACKER, name="st_src"),)), rewrite_const)])
```

* rm arg

* remove arg

* revert arg removal

This reverts commit 2c35c75c950075d38c9fb8572f14640fe8235f74.

* red test_pickle_define_var
2024-09-21 14:19:25 +08:00
..
.gitignore
__init__.py
coco.py
fake_imagenet_from_mnist.py
imagenet.py
imagenet_download.py
kits19.py UNet3D MLPerf (#3470) 2024-09-10 04:37:28 -04:00
librispeech.py
openimages.py
preprocess_imagenet.py
sops.gz UOps.VALID try 2 (#6623) 2024-09-21 14:19:25 +08:00
squad.py
wikipedia.py
wikipedia_download.py