Hi I am new in pytorch,  I was wondering why should we use the same epoch loop for train and test
for epoch in range(1, args.epochs + 1):
model.train_(train_loader, epoch)
model.test_(test_loader, epoch)
and how is that different from using 2 loops ? thank you
for epoch in range(1, args.epochs + 1):
model.train_(train_loader, epoch)
for epoch in range(1, args.epochs + 1):
model.test_(test_loader, epoch)