tinygrad/test/unit
qazal e40f141203
Refactor and add more unit tests for disktensors (#2022)
* testing with the test_ops pattern

* add assign test

* flake8 complaining about single line fn

* slice 2d and minor cleanup

* make assign_slice a one-liner

* we dont need to repeat the same lambda twice, default tinygrad_fxn to be np_fxn

* back assign fn for np array

* implement __setitem__ in tensor.py

* dont re-slice the ret tesnsor

* one liner assign

* drop the permute test
2023-10-09 18:46:29 -07:00
..
test_disk_tensor.py Refactor and add more unit tests for disktensors (#2022) 2023-10-09 18:46:29 -07:00
test_example.py move device to ops (#1646) 2023-08-23 08:30:17 -07:00
test_flopcounter.py reorder a few things (#1915) 2023-09-25 10:17:21 +08:00
test_helpers.py fix type of helpers.prod, add test cases (#1859) 2023-09-14 05:16:55 +08:00
test_shapetracker.py Make ShapeTracker Immutable (#1909) 2023-09-24 21:09:03 +08:00
test_shm_tensor.py Add needed contiguous to DiskBuffer. SHM support on OSX (#1891) 2023-09-22 09:16:42 +08:00
test_symbolic.py Fix VALIDHACKS for Images and make it default (#1832) 2023-09-23 07:34:43 +08:00