下载
中文
注册

getListLength

API定义

virtual uint32_t getListLength(int listId) const;

功能描述

返回当前的AscendIndexIVF的nlist中的特定nlistId上的长度。

输入

int listId:AscendIndexIVF的nlist中的特定nlistId。

输出

返回值

AscendIndexIVF的nlist中的特定nlistId上的长度。

约束说明

0 ≤ listId<nlist