From e8a222489d17c8d83c2990a8eb606a10430b0501 Mon Sep 17 00:00:00 2001 From: mcDandy Date: Mon, 20 Apr 2026 15:41:31 +0200 Subject: [PATCH] AI: clarifications --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 03450a0..2b75584 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ You can also get the node from comfy manager under the name of More math. - `cov(x, y)`: covariance. - `corr(x, y)` / `correlation`: Pearson correlation. - `entropy(x)`: Shannon entropy. -- `flip(x, dims)`: flip selected dimensions. +- `flip(x, dims)`: flip selected dimensions; `dims` can be a single dimension, list, or tensor of dimensions, so multiple axes can be flipped at once. - `swap(tensor, dim, i1, i2)`: swap two indices along dimension `dim`. #### 2.2 Reductions & Statistical Aggregates @@ -205,7 +205,7 @@ You can also get the node from comfy manager under the name of More math. - `batch_shuffle(tensor, indices)` / `shuffle` / `select`: reorder along batch dimension. - `concatenate(..., dim)` / `concat` / `cat`: concatenate tensors or lists. - `roll(tensor, shifts, [dim])`: circular shift. -- `tensor(shape, [value, [type]])`: create a filled tensor. +- `tensor(shape, [value, [type]])`: create a filled tensor; `type` a tensor to copy its dtype to self when being created. #### 2.5 Linear Algebra - `dot(a, b)`: dot product after flattening. @@ -216,8 +216,8 @@ You can also get the node from comfy manager under the name of More math. #### 2.6 Mapping / Sampling - `map(tensor, c1, ...)`: coordinate remapping via `grid_sample`. - supports up to `3` coordinate inputs, - - coordinates are normalized internally, - - intended for spatial sampling/remapping. + - uses sampling coordinates derived from the provided coordinate tensors, + - intended for spatial remapping / resampling. - `get_value(tensor, position)`: read value at an N-D position using flat offset math. ---