AddFeatures
API Definition |
APP_ERROR AddFeatures(int n, const float16_t *features, const idx_t *indices) override |
|---|---|
Function |
Inserts n feature vectors with specified subscript indexes into the feature library and modifies a feature vector if it already exists. |
Input |
int n: number of feature vectors to be inserted. const float16_t *feature: feature vectors to be inserted. The length is n x vector dimension dim. const idx_t *indices: subscript index corresponding to the feature vector to be inserted. The valid length is n. |
Output |
N/A |
Return Value |
APP_ERROR: return status. For details, see Return Code Reference. |
Restrictions |
|
Parent topic: IndexILFlat