Function: create_repo_range

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

Creates data of the aclfvRepoRange type as a feature repository range.

To destroy data of the aclfvRepoRange type, call Function: destroy_repo_range.

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

Prototype

  • C Prototype
    1
    aclfvRepoRange *aclfvCreateRepoRange(uint32_t id0Min, uint32_t id0Max, uint32_t id1Min, uint32_t id1Max)
    
  • Python Function
    1
    repo_range = acl.fv.create_repo_range(id0min, id0max, id1min, id1max)
    

Parameter Description

Parameter

Description

id0min

Int, start value of id0. Must be less than or equal to id0Max within [0, 1023].

id0max

Int, maximum value of id0. Must be in the range [0, 1023].

id1min

Int, start value of id1. Must be less than or equal to id1Max within [0, 1023].

id1max

Int, maximum value of id1. Must be in the range [0, 1023].

Return Value Description

Return Value

Description

repo_range

Int, pointer address.

  • Success: data of the aclfvRepoRange type.
  • If 0 is returned, the operation fails.

Reference

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