getBase

API Definition

void getBase(int deviceId, std::vector<int8_t> &xb) const

Function

Obtains the feature vectors managed by AscendIndexInt8Flat in the specific deviceId.

Input

int deviceId: processor name on the NPU.

Output

std::vector<int8_t> &xb: feature vectors of the base library stored in deviceId by AscendIndexInt8Flat.

Return Value

N/A

Restrictions

The deviceId must be a valid processor ID.