How different data types represent in Pytorch

I recently work on analyzing a model’s reliability and I wonder how qint8 data like quantized model’s weights are stored in a computer.
Do these data types store in True form or Complement form
Thank you

I’m not good at English, so my word may have difference with what I want to present.
But I’m glad and will soon reply if you remark
When I say True form, It’s signed binary numbers like:
And does it save in this form or one’s complement or two’s complement

qint8 is using (signed int8) underneath, so it will be two’s complement I think

1 Like