I think the usual approach would be to average the predictions from the crops and just keep the batch size.
If you really want to extend your batch size, you could try the following:
target = torch.empty(8, dtype=torch.long).random_(10)
target.view(-1, 1).expand(-1, 5).contiguous().view(40)