Skip to content

Commit 9ecd605

Browse files
authored
Update README with new features and clarifications
1 parent c930fbe commit 9ecd605

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ You can also get the node from comfy manager under the name of More math.
1515
## Features
1616

1717
- functions and variables in math expressions
18-
- Nodes for CONDITIONING, LATENT, IMAGE, NOISE, FLOAT, VIDEO and AUDIO
18+
- conversions between int and float
19+
- Nodes for FLOAT, CONDITIONING, LATENT, IMAGE, NOISE, AUDIO, VIDEO, MODEL, CLIP and VAE
1920

2021
## Operators
2122

2223
- Math: `+`, `-`, `*`, `/`, `%`, `^`, `||`
2324
- Boolean: `<`, `<=`, `>`, `>=`, `==`, `!=`
2425
(`false = 0.0`, `true = 1.0`)
25-
- Lists: `[v1, v2, ...]` (Vector math supported, only usefull in `conv`)
26+
- Lists: `[v1, v2, ...]` (Vector math supported, only usefull in `conv` and `permute`)
2627

2728
## Functions
2829

@@ -80,11 +81,12 @@ You can also get the node from comfy manager under the name of More math.
8081

8182
- `map(tensor, c1, ...)`: Remaps `tensor` using source coordinates.
8283
- Up to 3 coordinate mapping functions can be provided which map to the last (up to 3) dimensions of the tensor.
83-
- If less than 3 functions are provided and shape of tensor > 3, the remaining dimensions are assumed to be identity functions.
84+
- If less than 3 functions are provided and shape of tensor >= 3, the remaining dimensions are assumed to be identity functions.
85+
- That means map(tensor4,func) where tensor4 has shape [a,b,c,d] will map 2nd dimension and map(tensor4,func,func) will map 2nd and 3rd dimension. map(tensor4,func,func,func) will map last 3 dimensions.
8486
- `conv(tensor, kw, [kh], [kd], k_expr)`: Applies a convolution to `tensor`.
8587
- `k_expr` can be a math expression (using `kX`, `kY`, `kZ`) or a list literal.
8688

87-
- `permute(tensor, [dims])`: Rearranges the dimensions of the tensor. (e.g., `permute(a, [2, 3, 0, 1])`)
89+
- `permute(tensor, dims)`: Rearranges the dimensions of the tensor. (e.g., `permute(a, [2, 3, 0, 1])`)
8890

8991
### FFT (Tensor Only)
9092

0 commit comments

Comments
 (0)