Re:The Illustrated Stable Diffusion
by minimaxir on Tuesday October 04, 2022 @03:23PM
(#33085415)
A more practical example of the added dimensionality of tensors is the addition of a batch dimension, so a 8 image batch per training step would be a (8, 256, 256, 3) tensor.
Tools such as PyTorch's DataLoader can efficiently collate multiple inputs into a batch.
Tools such as PyTorch's DataLoader can efficiently collate multiple inputs into a batch.