Based on this code you are indeed using 32 epochs, i.e. 32 iterations over your full dataset.
In each epoch the loop over your DataLoader (for inputs, labels in dataloaders[phase]) will give you ~32 batches of size 15.