4 ms·
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, 2
by minimaxir 4y ago
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.