Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The LatentConcat node combines two latent samples along a specified dimension. It takes two latent inputs and concatenates them together along the chosen axis (x, y, or t dimension). The node automatically adjusts the batch size of the second input to match the first input before performing the concatenation operation.

Inputs

ParameterData TypeRequiredRangeDescription
samples1LATENTYes-The first latent sample to concatenate
samples2LATENTYes-The second latent sample to concatenate
dimCOMBOYes"x"
"-x"
"y"
"-y"
"t"
"-t"
The dimension along which to concatenate the latent samples. Positive values concatenate samples1 before samples2, negative values concatenate samples2 before samples1
Note: The second latent sample (samples2) is automatically adjusted to match the batch size of the first latent sample (samples1) before concatenation.

Outputs

Output NameData TypeDescription
outputLATENTThe concatenated latent samples resulting from combining the two input samples along the specified dimension