Function: release

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

Deinitializes the feature search module to free the memory. Used in pair with acl.fv.init.

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

Prototype

  • C Prototype
    1
    aclError aclfvRelease()
    
  • Python Function
    1
    ret = acl.fv.release()
    

Parameter Description

None.

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.