Some basic list math operators for InvokeAI collection data.
If both inputs are scalars, they will be converted to singleton lists.
If one input is scalar and the other is a list, the scalar will become a list of that scalar with the same length as the other input.
If both inputs are lists of different sizes, and the operation computes across both lists, then the result will be truncated based on the length of the shorter list.
dunkeroni / invokeai_collection_operators Goto Github PK
View Code? Open in Web Editor NEWInvokeAI Node for Collection Math
License: Apache License 2.0