Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion faiss/impl/ProductQuantizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

namespace faiss {

/** Product Quantizer. Implemented only for METRIC_L2 */
/** Product Quantizer.
* PQ is trained using k-means, minimizing the L2 distance to centroids.
* PQ supports L2 and Inner Product search, however the quantization error is
* biased towards L2 distance.
*/
struct ProductQuantizer : Quantizer {
size_t M; ///< number of subquantizers
size_t nbits; ///< number of bits per quantization index
Expand Down