Module quantization

Module quantization 

Source
Expand description

Tensor quantization module.

Structs§

QParamTensor
A quantization parameter tensor descriptor.
QParams
The quantization tensor data parameters.
QuantizationParametersPrimitive
The quantization parameters primitive.

Enums§

Calibration
Calibration method used to compute the quantization range mapping.

Constants§

QPARAM_ALIGN
Alignment (in bytes) for quantization parameters in serialized tensor data.

Functions§

compute_q_params
Compute the quantization parameters.
compute_range
Compute the quantization range mapping.
params_shape
Calculate the shape of the quantization parameters for a given tensor and level