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 |
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 |
This API is a wrapper for an underlying C++ API, which controls exception handling. |
Parent topic: Python