# tensorplay.set_num_threads

Source: https://www.tensorplay.cn/docs/generated/tensorplay.set_num_threads.html

# tensorplay.set_num_threads

tensorplay.set_num_threads(nthreads: [SupportsInt](https://docs.python.org/3/library/typing.html#typing.SupportsInt) | [SupportsIndex](https://docs.python.org/3/library/typing.html#typing.SupportsIndex)) &#x2192; [None](https://docs.python.org/3/library/constants.html#None)

Sets the number of threads used for intraop parallelism on CPU.
