Function: destroy_init_para

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 products

x

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

x

Description

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

This API is not supported for Atlas inference accelerator modules in Atlas inference products.

Prototype

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

Parameters

Parameter

Description

init_para

Int, aclfvInitPara data to destroy.

Return Values

Return Value

Description

ret

Int, error code.

Reference

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