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: device ID

Output

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

Return value

N/A

Restrictions

deviceId must be a valid device ID.