mirror of https://github.com/milvus-io/milvus.git
[skip e2e] improve annotation (#14055)
Signed-off-by: Xieql <qianglong.xie@zilliz.com>pull/14069/head
parent
370b878857
commit
e6e58b69d5
|
@ -79,7 +79,7 @@ void IndexIVFPQ::train_residual_o (idx_t n, const float *x, float *residuals_2)
|
|||
ScopeDeleter<float> del_residuals;
|
||||
if (by_residual) {
|
||||
if(verbose) printf("computing residuals\n");
|
||||
idx_t * assign = new idx_t [n]; // assignement to coarse centroids
|
||||
idx_t * assign = new idx_t [n]; // assignment to coarse centroids
|
||||
ScopeDeleter<idx_t> del (assign);
|
||||
quantizer->assign (n, x, assign);
|
||||
float *residuals = new float [n * d];
|
||||
|
|
Loading…
Reference in New Issue