Maybe there is a precision issue with torch.quantize_per_channel?

757.5/15 = 50.5 torch.round(50.5) = 50
The result here should be 50, why is the actual output 51?