getIdxMap

API definition

void getIdxMap(int deviceId, std::vector<idx_t>& idxMap) const;

Function

Obtains the IDs of feature vectors managed by AscendIndexSQ in the specific deviceId.

Input

int deviceId: device ID

Output

std::vector<idx_t> &idxMap: feature vector IDs stored in deviceId by AscendIndexSQ.

Return value

N/A

Restrictions

deviceId must be a valid device ID.