GetNTotal
API定义 |
int GetNTotal() const override; |
---|---|
功能描述 |
查询当前特征库特征向量数目的理论最大值。如果插入特征向量indices连续,则ntotal等于特征向量数目。 |
输入 |
无 |
输出 |
int ntotal:特征向量数目的理论最大值(底库向量最大索引加1)。 |
返回值 |
int ntotal:请参见功能描述。 |
约束说明 |
无 |
父主题: IndexILFlat
API定义 |
int GetNTotal() const override; |
---|---|
功能描述 |
查询当前特征库特征向量数目的理论最大值。如果插入特征向量indices连续,则ntotal等于特征向量数目。 |
输入 |
无 |
输出 |
int ntotal:特征向量数目的理论最大值(底库向量最大索引加1)。 |
返回值 |
int ntotal:请参见功能描述。 |
约束说明 |
无 |