aclfvCreateInitPara

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

x

Atlas inference products

Atlas training products

x

Description

Creates data of the aclfvInitPara type as an initialization configuration for feature vector search. To destroy data of the aclfvInitPara type, see aclfvDestroyInitPara.

The Atlas inference accelerator modules does not support this API.

Prototype

aclfvInitPara *aclfvCreateInitPara(uint64_t fsNum)

Parameters

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].

Returns

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