Function: create_query_table
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
|
x |
|
|
x |
|
|
x |
|
|
√ |
|
|
x |
Function Usage
Creates data of the aclfvQueryTable type as a search input table.
To destroy data of the aclfvQueryTable type, call Function: destroy_query_table.
The
Prototype
- C Prototype
1aclfvQueryTable *aclfvCreateQueryTable(uint32_t queryCnt, uint32_t tableLen, uint8_t *tableData, uint32_t tableDataLen)
- Python Function
1query_table = acl.fv.create_query_table(query_cnt, table_len, table_data, table_data_len)
Parameter Description
|
Parameter |
Description |
|---|---|
|
query_cnt |
Int, number of search requests, fixed at 1 in 1:N mode or up to 1024 in the N:M scenario. |
|
table_len |
Int, table length, fixed at 32 KB. The system verifies the length internally. |
|
table_data |
Int, feature value table, stored consecutively based on the feature length. |
|
table_data_len |
Int, length of the memory allocated to tableData, which is used for verification. |
Return Value Description
|
Return Value |
Description |
|---|---|
|
query_table |
Int, pointer address.
|