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

deserialize_from_mem

API Definition

def deserialize_to_mem(serialize_data: numpy.ndarray) -> int

Function

Deserializes the array into the searcher instance (KScaNN-specific addition).

Parameters

Parameter

Data Type

Description

Value Range

serialize_data

numpy.ndarray

Array that stores the serialized index data.

The value cannot be null.

Return Value

Data Type

Description

int

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