Function: create_init_para

C Prototype

aclfvInitPara *aclfvCreateInitPara(uint64_t fsNum)

Python Function

init_para = acl.fv.create_init_para(fs_num)

Function Usage

Creates data of the aclfvInitPara type as an initialization configuration for feature vector search.

To destroy data of the aclfvInitPara type, call Function: destroy_init_para.

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Input Description

fs_num: int, number of features in the repository. It is related to memory allocation for the feature search module in the system. The value range is [1, 500000000].

Return Value

init_para: int.

  • Success: data of the aclfvInitPara type.
  • Failure: 0.

Restrictions

None