Rate This Document
Findability
Accuracy
Completeness
Readability

reorder

API Definition

def reorder(reordering_num_neighbors: int, quantize: bool) -> scann.scann_ops.py.scann_builder.ScannBuilder

Function

Result reordering configuration (consistent with the open source algorithm).

Parameters

Parameter

Description

Data Type

Value Range

reordering_num_neighbors

Number of items to be reordered.

int

[0, number_of_base_libraries]

quantize

Indicates whether to quantize or not.

Boolean

-

Return Value

Data Type

Description

scann.scann_ops.py.scann_builder.ScannBuilder

ScannBuilder is used to receive build parameters.