As long as there isn’t any batch specific computation (like BatchNormalization), this is a valid way to simulate batch of 32.


You can implement a dataloader with batchsize=32. https://pytorch.org/docs/stable/data.html#torch.utils.data.DataLoader 4