Function: repo_del

Description

Deletes a repository.

The Atlas inference accelerator module of the Atlas inference product does not support this API.

Prototype

  • C Prototype
    1
    aclErroraclfvRepoDel(aclfvSearchType type, aclfvRepoRange *repoRange)
    
  • Python Function
    1
    ret = acl.fv.repo_del(type, repo_range)
    

Parameters

Parameter

Description

type

Search type. The value is of the int type. For details, see aclfvSearchType.

repo_range

Int, address of the pointer that points to the feature deletion range. Call acl.fv.create_repo_range to create data of the aclfvRepoRange type in advance.

Return Value

Return Value

Description

ret

Int, error code.

Restrictions

  • In N:M mode, multithreaded adding, search, or deletion is not allowed.
  • This API call automatically creates a stream for synchronous task execution within the API. When the tasks are complete, the stream is automatically destroyed.

    Due to hardware restrictions, the total number of streams is limited. For details, see the description of Function: create_stream.

Reference

For details about the API call sequence and sample code, see Feature Vector Search.