set_num_threads#

Model.set_num_threads(num)#

Sets the number of threads for multithreaded operation.

Parameters:
numint

Number of threads.

Examples

>>> model = client.model
>>> model.set_num_threads(4)