Skip to main content
The Batch Latents node combines multiple latent inputs into a single batch. It takes a variable number of latent samples and merges them along the batch dimension so they can be processed together by subsequent nodes. The node also merges the batch index metadata of all inputs into the combined output.

Inputs

Note: You must provide at least one latent input for the node to function. The node automatically creates input slots as you connect more latents, up to a maximum of 50. Each input latent is reshaped to match the sample shape of the first latent before being combined, and any latent without batch index metadata is assigned a sequential batch index.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 38df5e6cfa391e054c663af1cc55728d115cebfbb804e1c2c51dfc2aab37df47