Question 1: Short answer
easyAI-checkedComputer Vision BasicsSixteen colour images are loaded as NumPy arrays in height × width × channels order and batched for a PyTorch CNN:
import numpy as np
imgs = [np.zeros((120, 160, 3), dtype=np.uint8) for _ in range(16)]
batch = np.stack(imgs).transpose(0, 3, 1, 2)
print(batch.shape)
What shape is printed?