mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-01 08:28:10 +08:00
[skip e2e] improve annotation (#14055)
Signed-off-by: Xieql <qianglong.xie@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user