Function: destroy_search_input

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 aclfvSearchInput type created by calling acl.fv.create_search_input.

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

Prototype

  • C Prototype
    1
    aclError aclfvDestroySearchInput(aclfvSearchInput *searchInput)
    
  • Python Function
    1
    ret = acl.fv.destroy_search_input(search_input)
    

Parameters

Parameter

Description

search_input

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