getIdxMap
API Definition |
void getIdxMap(int deviceId, std::vector<Index::idx_t>& idxMap) const |
|---|---|
Function |
Obtains the IDs of feature vectors managed by AscendIndexSQ in the specific deviceId. |
Input |
int deviceId: processor name on the NPU. |
Output |
std::vector<Index::idx_t> &idxMap: feature vector IDs of the base library stored in the deviceId by AscendIndexSQ. |
Return Value |
N/A |
Restrictions |
The deviceId must be a valid processor ID. |
Parent topic: AscendIndexSQ