aclfvCreateInitPara

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

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

Atlas inference accelerator module does 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 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