Rate This Document
Findability
Accuracy
Completeness
Readability

set_num_threads

API Definition

def set_num_threads(num_threads: int) -> None

Function

Configure the number of threads enabled during search. It is a new API added to the open source algorithm.

Parameters

Parameter

Description

Data Type

Value Range

num_threads

Number of threads.

int

≥ 1. The recommended value is the number of CPU cores during run time.