getBaseSize

API definition

size_t getBaseSize(int deviceId) const;

Function

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

Input

int deviceId: device ID

Output

N/A

Return value

Number of feature vectors in the specific deviceId.

Restrictions

deviceId must be a valid device ID.