tinygrad/test/unit
chenyu 5eee974b2a
construct Tensor from python list/tuple directly (#4947)
* construct Tensor from python list/tuple directly

no numpy. annoying that half memoryview is 3.12 feature...

* simpler, and test

* flat already

* simpler

* cute

* 10% faster

* 5%
2024-06-14 11:36:05 -04:00
..
__init__.py more test cleanups (#2631) 2023-12-05 16:17:57 -08:00
test_device.py fix UnboundLocalError when running Compiler with DISABLE_COMPILER_CACHE (#3296) 2024-02-01 21:12:33 -05:00
test_disk_cache.py helpers.diskcache_clear (#4436) 2024-05-05 14:19:01 -04:00
test_disk_tensor.py don't cast before view on shape changing bitcast (#4833) 2024-06-04 16:04:52 -04:00
test_flopcounter.py test unary and more reduces in test_flopcounter (#4455) 2024-05-06 15:15:16 -04:00
test_helpers.py construct Tensor from python list/tuple directly (#4947) 2024-06-14 11:36:05 -04:00
test_shapetracker.py unit test ShapeTracker.consecutive (#4800) 2024-06-01 10:10:51 -04:00
test_shapetracker_math.py remove unused expr node (#3170) 2024-01-18 14:18:43 -08:00
test_shm_tensor.py ops_shm removed (#2351) 2023-11-18 11:41:58 -08:00
test_symbolic.py factor out partial in SumNode div int (#3841) 2024-03-20 16:34:33 -04:00
test_uop_symbolic.py Convert BinaryOps.DIV to UnaryOps.RECIP and BinaryOps.IDIV (#4887) 2024-06-14 02:43:46 -07:00
test_view.py check contiguous in View.create after canonicalizing mask and offset (#4770) 2024-05-29 11:31:13 -04:00