forked from M-Labs/nac3
1
0
Fork 0
Commit Graph

14 Commits

Author SHA1 Message Date
lyken 0946bd86ea core: irrt proper ndarray subscript & more
Details:
- improve irrt model
- len() on ndarrays
2024-07-15 21:05:01 +08:00
lyken 29734ce3af core: irrt fix minor formatting 2024-07-15 12:05:47 +08:00
lyken b940b0a3a1 core: irrt refactor print & add print_ndarray 2024-07-15 12:05:17 +08:00
lyken b12d7fcb2d core: irrt improve test_ndarray_subscript
- rewrote some comments
- add test_ndsubscript_index_subscript_out_of_bounds
2024-07-15 11:54:32 +08:00
lyken 628965e519 core: irrt reformat & more progress
progress details:
- organize test suite sources with namespaces
- organize ndarray implementations with namespaces
- remove extraneous code/comment
- add more tests
- some renaming
- fix pre-existing bugs
- ndarray::subscript now throw errors
2024-07-15 11:50:45 +08:00
lyken 61dd9762d8 core: irrt add unchecked ndarray broadcasting 2024-07-15 00:49:07 +08:00
lyken cc8103152f core: irrt add unchecked ndarray slicing 2024-07-15 00:48:14 +08:00
lyken d92cccb85e core: irrt split ndarray.hpp 2024-07-14 23:35:50 +08:00
lyken 3344a2bcd3 core: new np_{zeros,ones,fill} + some irrt model additions 2024-07-14 23:16:28 +08:00
lyken 51a099b602 core: irrt error context mechanism 2024-07-14 22:34:23 +08:00
lyken 73937730e0 core: -I irrt/ & #include absolute paths 2024-07-14 17:09:48 +08:00
lyken 1721ebac66 core: introduce irrt_test 2024-07-13 23:37:24 +08:00
lyken f033639415 core: split irrt.cpp into headers 2024-07-12 21:53:15 +08:00
lyken 3116f11814 core: comment build.rs & move irrt to its own dir 2024-07-12 21:52:55 +08:00