argsort + add do nothing option on tensor size mismatch

This commit is contained in:
mcDandy
2026-02-04 19:09:56 +01:00
parent 8ffc9a394c
commit 0c1d3f52d6
20 changed files with 1561 additions and 1451 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ class ModelMathNode(io.ComfyNode):
io.String.Input(id="Expression", default="I0*(1-F0)+I1*F0", tooltip="Expression to apply on weights"),
io.Combo.Input(
id="length_mismatch",
options=["tile", "error", "pad"],
options=["do nothing","error","tile", "pad"],
display_name="on size mismatch",
default="error",
tooltip="How to handle mismatched layer counts. For models, this usually defaults to broadcast (zero for missing layers)."
),