megengine.core.tensor.dtype.qint32

qint32(scale)[源代码]

Construct a quantized int32 data type with scale (float). The real value represented by a qint32 data type is float_val = scale * int32_val