Solved by ptrblck in post #2 
              
              
                I think the torch.round operation sticks to numpy’s implementation, which explains: 

For values exactly halfway between rounded decimal values, NumPy rounds to the nearest even value. Thus 1.5 and 2.5 round to 2.0, -0.5 and 0.5 round to 0.0, etc. Results may also be surprising due to the inexact re…