> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# set_num_threads

#### Model.set\_num\_threads(num)

Sets the number of threads for multithreaded operation.

* **Parameters:**

  **num**
  : Number of threads.

### Examples

```python theme={null}
>>> model = client.model
>>> model.set_num_threads(4)
```
