Function: repo_del

C Prototype

aclError aclfvRepoDel(aclfvSearchType type, aclfvRepoRange *repoRange)

Python Function

ret = acl.fv.repo_del(type, repo_range)

Function Usage

Deletes a repository.

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Input Description

  • type: int, search 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

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.

    Hardware has restrictions on the total number of streams. For details, see Function: create_stream.