Skip to main content
The LatentSubtract node is designed for subtracting one latent representation from another. This operation can be used to manipulate or modify the characteristics of generative models’ outputs by effectively removing features or attributes represented in one latent space from another.

Inputs

ParameterData TypeDescription
samples1LATENTThe first set of latent samples to be subtracted from. It serves as the base for the subtraction operation.
samples2LATENTThe second set of latent samples that will be subtracted from the first set. This operation can alter the resulting generative model’s output by removing attributes or features.

Outputs

ParameterData TypeDescription
latentLATENTThe result of subtracting the second set of latent samples from the first. This modified latent representation can be used for further generative tasks.