getIdxMap
API Definition |
void getIdxMap(int deviceId, std::vector<Index::idx_t> &idxMap) const |
|---|---|
Function |
Obtains the IDs of feature vectors managed by AscendIndexInt8Flat 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 AscendIndexInt8Flat. |
Return Value |
N/A |
Restrictions |
The deviceId must be a valid processor ID. |
Parent topic: AscendIndexInt8Flat