latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.get_thread_num
- tensorplay.get_thread_num() int
Returns the current thread number (starting from 0) in the current parallel region, or 0 in the sequential region
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

