aclfvCreateInitPara

Applicable Products

Product

Supported

Ascend 950PR&950DT products

×

Atlas A3 products

×

Atlas A2 products

×

Atlas 200I/500 A2 inference products

×

Atlas inference products

√

Atlas training products

×

Description

Creates data of the aclfvInitPara type as the initialization parameters for feature vector search. To destroy data of the aclfvInitPara type, call aclfvDestroyInitPara.

Atlas inference accelerator modules do not support this API.

Prototype

1
aclfvInitPara *aclfvCreateInitPara(uint64_t fsNum)

Parameters

Parameter

Input/Output

Description

fsNum

Input

Number of features in the repository, which is used by the system to allocate memory resources for the feature search module.

Value range: [1, 500000000]

Return Value

  • Success: a pointer to data of the aclfvInitPara type
  • Failure: nullptr