Commit Graph
56 Commits
Author SHA1 Message Date
mcDandy e1f37d25e3 add shape function 2026-02-15 15:47:52 +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 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 9a9274f443 fix grammer 2026-02-13 14:06:42 +01:00
mcDandy 3d9e37b602 motion functions and permute fix 2026-02-12 08:51:20 +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 b8b98cb758 add optional shape argument 2026-02-07 16:37:39 +01:00
mcDandy 0c1d3f52d6 argsort + add do nothing option on tensor size mismatch 2026-02-04 19:09:56 +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 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 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 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
mcDandy e13e3ac013 fixed an issue when (probably) multiplying list and tensor 2026-01-30 21:22:58 +01:00
mcDandy db8000d51e add device info to visitor and fixed forgotten ' 2026-01-30 14:22:13 +01:00
mcDandy 03dcb7c424 aded break and continue 2026-01-30 11:35:20 +01:00
mcDandy e7d913ccd0 add time measurement and updated readme 2026-01-29 12:54:53 +01:00
mcDandy 13e5b4e800 Add comments 2026-01-29 11:19:02 +01:00
mcDandy 380021fdf1 Add stack 2026-01-27 19:35:23 +01:00
mcDandy c3b7822ad2 (AI) merge some features from Computer architecture class project 2026-01-27 13:41:15 +01:00
mcDandy 1a80777aac optional auto-permute for gausian and edge 2026-01-25 22:06:54 +01:00
mcDandy 9e3e21da4c any, all, easings, cumulative sum and product 2026-01-25 11:42:09 +01:00
mcDandy 5d634ecaf4 Added ternary expression
Little higher then in other languages (tired of needing to bracket when the compExpr is more then variable)

Also IT SHOULD BE TURING COMPLETE NOW
2026-01-25 00:03:56 +01:00
mcDandy c61aec2faf add function which replaces NaN, inf and -inf 2026-01-24 14:46:50 +01:00
mcDandy a870ca0689 add ability to declare custom variables 2026-01-24 11:46:57 +01:00
mcDandy 01c9a9a3c2 fix typo 2026-01-20 15:33:18 +01:00
mcDandy 27079a0394 ai found some typos when writing tests for me 2026-01-20 13:20:40 +01:00
mcDandy b83e06e83f add random generators 2026-01-20 13:08:14 +01:00
mcDandy b59937d351 add append function 2026-01-19 20:43:19 +01:00
mcDandy 8e0b1c65f5 (ai) add custom functions 2026-01-19 17:22:23 +01:00
mcDandy ceafc51aa3 (UNTESTED) Add sigmas math node with autogrow
REQUIRES https://github.com/Comfy-Org/ComfyUI_frontend/pull/8026 TO BE MERGED BEFORE IT WILL WORK
2026-01-18 12:43:17 +01:00
mcDandy 8d5709ba6f added cosine similarity, flip, covariance and sorting 2026-01-17 14:04:27 +01:00
mcDandy 6335071950 Add selector 2026-01-13 15:40:42 +01:00
mcDandy 22cc4ea1b4 ruff 2026-01-12 15:02:32 +01:00
mcDandy c9cd557666 Added moment function
moment(x,0,1) = mean(x)
moment(x,mean(x),2) = var(x)
2026-01-11 15:12:35 +01:00
mcDandy 81a17c9352 run ruff 2026-01-10 15:25:34 +01:00
mcDandy 1b6b35f5d6 (AI) optimalise quantile and simillar for large count in quantile
passing large tensor into quantlie,quartile or percentile no longer takes minutes + limit testing with image from my phone (3072 x 4080 x 3)
2026-01-10 15:24:23 +01:00
mcDandy 43c3d060b0 add statistical functions 2026-01-10 14:13:44 +01:00
mcDandy 9e55ed1209 added the permute which does not rearrange dims. 2026-01-09 23:06:35 +01:00
mcDandy e3cc2873a4 ruff fix 2026-01-09 20:34:57 +01:00
mcDandy f4edef96cc add topk, botk and convolution inverse function 2026-01-09 13:28:46 +01:00
mcDandy f76b77c584 fix ruff + ignore errors in auto-generated files 2026-01-08 14:22:53 +01:00
mcDandy f273d74ae6 run ruff 2026-01-08 14:14:44 +01:00