From bc331154bbe8cd456da86558475e682826ade522 Mon Sep 17 00:00:00 2001 From: mcDandy Date: Mon, 5 Jan 2026 16:52:39 +0100 Subject: [PATCH] Update README with tensor and list operation details Clarified usage of batched and non-batched tensors in README. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 626c811..177e282 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ You can also get the node from comfy manager under the name of More math. - Lists: `[v1, v2, ...]` (Vector math supported, mostly usefull in `conv` and `permute`) - You can also use lists to do math with input tensor (image, noise, conditioing, latent, audio) which results in batched output. - print_shape(a) = torch.Shape[1,1024,1024,3]; b = a*[0,0.2,-0.3]; print_shape(b) = torch.Shape[3,1024,1024,3] - - in some cases you can batched tensor with another tensor which is not batched (dim[0] = 1) + - You can batched tensor with another tensor which is not batched (dim[0] = 1) - the non batched tensor will be duplicated along batch dimension + - In imageMath node you can use 3 element list to specify a color of image. You cannot use any imput tensor, doing so will result in behaviour in subpoint 1 in list ## Functions