Commit Graph
117 Commits
Author SHA1 Message Date
mcDandy 0f76196dda edge cases for clamp if type is wierd combination of list and tensors 2026-02-18 10:26:07 +01:00
mcDandy 891634a912 AI: add plasma, voronoi and perlin noise 2026-02-18 00:49:25 +01:00
mcDandy 412ea5e89b shape returns list now 2026-02-17 00:34:51 +01:00
mcDandy 0a8b87d574 add type to tensor optionally 2026-02-16 14:50:42 +01:00
mcDandy e3676d681f add type optional to tensor 2026-02-15 16:27:08 +01:00
mcDandy 9715cd273f Back to what AI created. I thought I could do better. 2026-02-15 16:10:27 +01:00
mcDandy e1f37d25e3 add shape function 2026-02-15 15:47:52 +01:00
mcDandy 0604551199 fix what AI messed up. 2026-02-15 12:20:04 +01:00
mcDandy 9b6c10b664 AI: fix some tests 2026-02-15 11:47:32 +01:00
mcDandy 7cd8e0362e ruff + AI: fix determnism 2026-02-14 23:04:17 +01:00
mcDandy f57f224fd6 AI: add noise 2026-02-14 22:38:28 +01:00
mcDandy a2aa2601d5 safety if we get tensor there 2026-02-14 11:42:59 +01:00
mcDandy 0817e50109 AI: fix reshape 2026-02-14 11:35:15 +01:00
mcDandy 04906ee2cb fix crashes 2026-02-13 23:54:11 +01:00
mcDandy 4a265c4768 grammer got reverted 2026-02-13 23:45:14 +01:00
mcDandy 588a74cfeb add bit count, bit shifts + tests + restore what AI deleted 2026-02-13 23:15:50 +01:00
mcDandy 93209bf261 AI fix 2026-02-13 22:25:00 +01:00
mcDandy 0d65516cbb AI: rewrite bin_op and add fp16 support for bitwise operations 2026-02-13 16:23:03 +01:00
mcDandy 2a0fa503c9 AI fix and add fp8 support 2026-02-13 15:40:47 +01:00
mcDandy 9a9274f443 fix grammer 2026-02-13 14:06:42 +01:00
mcDandy 8c2eab8626 AI: bitwise - check later manually 2026-02-13 14:02:50 +01:00
mcDandy 2ae4674336 AI: fix mask 2026-02-13 14:02:03 +01:00
mcDandy 3d9e37b602 motion functions and permute fix 2026-02-12 08:51:20 +01:00
mcDandy 4bdbdd7bde forgot to add matmul and cross code 2026-02-10 16:25:46 +01:00
mcDandy 5072b191b7 Add tensor ops and parser support
Expose new tensor operations (softmax, softmin, argmin, argmax, unique, flatten, matmul, cross, and related tensor helpers) in the README and add corresponding grammar rules/tokens. Updated MathExpr.g4 to include new func productions and token definitions, and regenerated parser artifacts (MathExprLexer/Parser/Listener/Visitor/UnifiedMathVisitor and .interp/.tokens files). Also includes minor README formatting/typo fixes.
2026-02-10 15:38:47 +01:00
mcDandy 4935791ebb rewrite index expression 2026-02-08 17:10:22 +01:00
mcDandy 6122ca4b0c unnecesery casting 2026-02-08 12:24:40 +01:00
mcDandy ebdaefbe14 forgot a zero 2026-02-08 11:16:11 +01:00
mcDandy fb3e41e54f fix 2026-02-08 11:10:25 +01:00
mcDandy b8b98cb758 add optional shape argument 2026-02-07 16:37:39 +01:00
mcDandy 29ecec9a9e return scalar instead of 1 element tensor 2026-02-06 10:28:31 +01:00
mcDandy 0c1d3f52d6 argsort + add do nothing option on tensor size mismatch 2026-02-04 19:09:56 +01:00
mcDandy 8ffc9a394c AI refactor indexing 2026-02-04 14:05:01 +01:00
mcDandy f5e8c3ba8c fixed 2026-02-03 14:11:47 +01:00
mcDandy 38e795eb35 Better errors + batch shuffle (subject to rename) 2026-02-03 13:59:19 +01:00
mcDandy e01a74d6ad add tensor creation and fix ruff 2026-02-03 10:17:43 +01:00
mcDandy d53d725fcc AI fix stack and large refactor + add count 2026-02-02 20:16:22 +01:00
mcDandy a1d1ce8c03 change stack to dict 2026-02-02 18:59:30 +01:00
mcDandy 881a18d392 added stack prefix to stack operations 2026-02-02 15:17:59 +01:00
mcDandy ac0c2f43d3 Add None. It is sometimes usefull to create empty variable 2026-02-01 17:26:53 +01:00
mcDandy e501753407 AI: add F[x] along with cound and fixes 2026-02-01 16:52:09 +01:00
mcDandy 93c4559bfd add optional semicolon 2026-02-01 16:45:32 +01:00
mcDandy 3467cf0663 (AI) set value based on position 2026-02-01 15:21:32 +01:00
mcDandy 4c5ef98571 (AI)get_value + crop 2026-02-01 15:20:01 +01:00
mcDandy 2ee4dfd507 crop, get_value + formating 2026-02-01 15:19:24 +01:00
mcDandy 270a539d91 Addid scientific notation. I forgot to commit. 2026-02-01 15:18:19 +01:00
mcDandy ce0c620a36 did I not puth it? 2026-02-01 15:17:23 +01:00
mcDandy 44e5bcc0e2 (BREAKING) (AI): using [,] to repeat batches was STUPID. Why did I even thought it was a good idea? 2026-02-01 15:15:48 +01:00
mcDandy ef4c0c6f78 ability to batch latent + fixes 2026-01-31 12:27:19 +01:00
mcDandy a84a3b16e0 add support for scientific notation 2026-01-30 23:27:20 +01:00