Expand description
Tensor quantization module.
Structs§
- QParam
Tensor - A quantization parameter tensor descriptor.
- QParams
- The quantization tensor data parameters.
- Quantization
Parameters Primitive - 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