latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.set_num_threads
- tensorplay.set_num_threads(int)
Sets the number of threads used for intraop parallelism on CPU.
Warning
To ensure that the correct number of threads is used, set_num_threads must be called before running eager, JIT or autograd code.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

