PqIndex constructor

PqIndex(
  1. int dim, {
  2. required int m,
  3. int seed = 1234,
  4. int niter = 25,
})

Implementation

PqIndex(
  this.dim, {
  required this.m,
  int seed = 1234,
  int niter = 25,
}) : _pq = _ProductQuantizer(dim: dim, m: m, seed: seed, niter: niter);