Precisely. Here are examples of two different runs. I show the output of the same batch and print respectively:
   print(predicted.eq(targets).sum().item())
   print(predicted.eq(targets))
   print(predicted)
   print(targets)

Targets are the same, but predicted values slightly vary.
Run 1:

118
tensor([1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1], device=‘cuda:0’, dtype=torch.uint8)
tensor([4, 8, 1, 0, 2, 4, 3, 4, 5, 6, 4, 4, 5, 7, 3, 2, 4, 5, 1, 7, 9, 9, 7, 9,
2, 4, 1, 1, 4, 8, 2, 9, 7, 6, 9, 1, 2, 9, 1, 1, 5, 1, 7, 7, 9, 4, 3, 3,
4, 6, 0, 5, 5, 5, 7, 7, 0, 7, 0, 4, 7, 3, 6, 1, 4, 0, 4, 0, 3, 1, 4, 8,
7, 6, 3, 7, 0, 5, 2, 0, 8, 5, 0, 2, 9, 7, 2, 2, 2, 8, 9, 6, 1, 1, 9, 1,
4, 9, 4, 8, 7, 6, 4, 7, 7, 8, 0, 6, 7, 4, 7, 5, 8, 3, 1, 3, 9, 8, 5, 8,
4, 2, 3, 7, 7, 2, 5, 1], device=‘cuda:0’)
tensor([4, 8, 1, 2, 2, 4, 3, 4, 5, 6, 4, 4, 5, 7, 5, 2, 4, 5, 1, 7, 1, 9, 7, 9,
2, 4, 1, 1, 4, 8, 2, 9, 7, 6, 9,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