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

deserialize

API Definition

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

Function

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

Parameters

Parameter

Data Type

Description

Value Range

data_arr

numpy.ndarray

Array that stores the content of the searcher.

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

This API is a wrapper for an underlying C++ API, which controls exception handling.