get_num_threads#

Model.get_num_threads()#

Get the number of threads enabled for multithreaded operation.

Returns:
int

Returns the number of threads.

Return type:

int

Examples

>>> model = client.model
>>> num_threads = model.get_num_threads()