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

SetNumThreads

API Definition

void ScannInterface::SetNumThreads(int num_threads);

Function

Configures the number of threads for search operations (KScaNN-specific addition).

Parameters

Parameter

Description

Data Type

Value Range

num_threads

Number of threads.

int

≥ 2. The recommended value is the number of CPU cores during runtime.