Function: destroy_search_input

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

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

Prototype

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

Parameter Description

Parameter

Description

search_input

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