我要评分
获取效率
正确性
完整性
易理解

deserialize

API Definition

def deserialize(data_arr: numpy.ndarray) -> int

Function

Restore an index instance to be searched given the array filled with the content of the searcher.

Parameters

Parameter

Description

Data Type

Value Range

data_arr

Array that stores the content of the searcher.

numpy.ndarray

The start address of the array for storing the searcher content cannot be null. The length of the array for storing the searcher content is the array length saved when the serialize API is called.

Return Value

Data Type

Description

int

The API is encapsulated by the underlying C++ API, which controls the exception throwing.