getIdxMap
API definition |
void getIdxMap(int deviceId, std::vector<idx_t> &idxMap) const; |
|---|---|
Function |
Obtains the feature vector IDs managed by AscendIndexFlat in the specific deviceId. |
Input |
int deviceId: device ID |
Output |
std::vector<idx_t> &idxMap: IDs of base vectors stored in the deviceId by AscendIndexFlat. |
Return value |
N/A |
Restrictions |
deviceId must be a valid device ID. |
Parent topic: AscendIndexFlat