add_with_ids
API定义  | 
void add_with_ids(idx_t n, const float *x, const idx_t *ids) override;  | 
|---|---|
功能描述  | 
实现AscendIndex建库和往底库中添加新的特征向量的功能,添加时底库特征都有对应的ID。  | 
输入  | 
idx_t n:待添加进底库的特征向量数量。 const float *x:待添加进底库的特征向量。 const idx_t *ids:待添加进底库的特征向量对应的ID。  | 
输出  | 
无  | 
返回值  | 
无  | 
约束说明  | 
  | 
父主题: AscendIndex