add_with_ids
API定义 |
void add_with_ids(idx_t n, const char *x, const idx_t *ids); |
---|---|
功能描述 |
向AscendIndexInt8底库中添加新的特征向量,且指定特征ID。 |
输入 |
idx_t n:添加进底库的特征向量数量。 const char *x:添加进底库的特征向量。 const idx_t *ids:添加进底库的特征向量对应的ID。ID在Index实例中需唯一。 |
输出 |
无 |
返回值 |
无 |
约束说明 |
|
父主题: AscendIndexInt8