Python module: cuvs.preprocessing.quantize.pq
Defines and stores Product Quantizer upon training
The quantization is performed by a linear mapping of an interval in the float data type to the full range of the quantized int type.
Members
Returns the PQ codebook
Returns the VQ codebook
Returns the encoded dimension of the quantized dataset
Parameters for product quantization
Parameters
Constructor
Members
@auto_sync_resources
Builds a Product Quantizer to be used later for quantizing the dataset.
Parameters
Returns
Examples
@auto_sync_resources
@auto_convert_output
Applies Product Quantization transform to given dataset
Parameters
Returns
Examples
@auto_sync_resources
@auto_convert_output
Applies Product Quantization inverse transform to given codes
Parameters
Returns
Examples