Function: destroy_init_para

Applicable Products

Product

Supported (√/x)

Ascend 950PR / Ascend 950DT

x

Atlas A3 training products / Atlas A3 inference products

x

Atlas A2 training products / Atlas A2 inference products

x

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

x

Function Usage

Destroys data of the aclfvInitPara type created by the acl.fv.create_init_para call.

The Atlas inference accelerator module in the Atlas inference products does not support this API.

Prototype

  • C Prototype
    1
    aclError aclfvDestroyInitPara(aclfvInitPara *initPara)
    
  • Python Function
    1
    ret = acl.fv.destroy_init_para(init_para)
    

Parameter Description

Parameter

Description

init_para

Int, aclfvInitPara data to be destroyed.

Return Value Description

Return Value

Description

ret

Int, error code.

Reference

For details about the API call sequence and sample code, see Feature Vector Search.