getBaseSize
API definition |
size_t getBaseSize(int deviceId) const; |
|---|---|
Function |
Obtains the number of feature vectors managed by AscendIndexInt8Flat 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. |
Parent topic: AscendIndexInt8Flat