This is how my labels look
tensor([1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 2, 2, 2,
        2, 1, 1, 2, 2, 2, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2,
        2, 2])

And the shapes are

labels
torch.Size([50])
images
torch.Size([50, 2352])
outputs
torch.Size([50, 2])

Seems to have the same size as the batch_size