I’ve seen:
       for epoch in range(nb_epochs):
            for i, data in enumerate(trainloader, 0):
                # unpack data
                inputs, labels = data


but I’ve never understood why the enumerate function needs the 0 as an argument. Does anyone know why?