Function: destroy_search_result

Applicability

Product

Supported (√/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 aclfvSearchResult type created by the acl.fv.create_search_result call.

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

Prototype

  • C Prototype
    1
    aclError aclfvDestroySearchResult(aclfvSearchResult *searchResult)
    
  • Python Function
    1
    ret = acl.fv.destroy_search_result(search_result)
    

Parameter Description

Parameter

Description

search_result

Int, address of the pointer to the aclfvSearchResult data to destroy.

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.