Function torch::stable::get_num_threads#
Defined in File ops.h
Function Documentation#
-
inline uint32_t torch::stable::get_num_threads()#
Gets the number of threads for the parallel backend.
Provides a stable interface to at::get_num_threads.
Minimum compatible version: PyTorch 2.10.
- Returns:
The number of threads