Inputs
Note: The node automatically determines the data type (IMAGE, MASK, or LATENT) based on the first item in the
inputs list. All subsequent items must match this type. The node will fail if you try to mix different data types.
Additional behavior based on input type:
- Images: When batching images, the node pads images with fewer color channels to match the maximum channel count among all inputs (padding value is 1.0). It also resizes all images to match the dimensions of the first image using bilinear interpolation.
- Masks: When batching masks, the node resizes all masks to match the dimensions of the first mask using bilinear interpolation.
- Latents: When batching latents, the node reshapes all latent tensors to match the dimensions of the first latent’s samples. It also combines the
batch_indexvalues from each latent, extending the list with sequential indices if a latent lacks abatch_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):
9f82b036c99577ebcda6de647c662def572ae1f01bd78dca1a0ab32f4698e09e