Creates data of the aclfvInitPara type as an initialization configuration for feature vector search. This API is synchronous.
To destroy data of the aclfvInitPara type, call aclfvDestroyInitPara.
The Ascend 310 AI Processor does not support this API.
The Ascend 910 AI Processor does not support this API.
aclfvInitPara *aclfvCreateInitPara(uint64_t fsNum)
Parameter |
Input/Output |
Description |
|---|---|---|
fsNum |
Input |
Number of features in the repository, which is used to allocate memory for the feature search module. Must be in the range of [1, 500000000]. |