Function: destroy_search_result

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 aclfvSearchResult type created by calling acl.fv.create_search_result.

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

Prototype

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

Parameters

Parameter

Description

search_result

Int, address of the pointer to the aclfvSearchResult 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.