Solved by ptrblck in post #2 
              
              
                You should be able to iterate these DataLoaders together e.g. via zip: 
datasetA = TensorDataset(torch.randn(12, 7), torch.randn(12, 11))
loaderA = DataLoader(datasetA, batch_size=3)

datasetB = TensorDataset(torch.randn(10, 13))
loaderB = DataLoader(datasetB, batch_size=5)

for (dataA, dataB), (dat…