Creates data of the aclfvQueryTable type for the search input table. This API is synchronous.
To destroy data of the aclfvQueryTable type, call aclfvDestroyQueryTable.
The Ascend 310 AI Processor does not support this API.
The Ascend 910 AI Processor does not support this API.
aclfvQueryTable *aclfvCreateQueryTable(uint32_t queryCnt, uint32_t tableLen, uint8_t *tableData, uint32_t tableDataLen)
Parameter |
Input/Output |
Description |
|---|---|---|
queryCnt |
Input |
Number of search requests, fixed at 1 in 1:N mode or up to 1024 in the N:M scenario. |
tableLen |
Input |
Table length, fixed at 32 KB. The system verifies the length internally. |
tableData |
Input |
Pointer to the feature value table, which is stored contiguously based on the feature length. |
tableDataLen |
Input |
Length of the memory pointed by the tableData pointer, used for verification. |