Function tch::get_num_threads

source ·
pub fn get_num_threads() -> i32
Expand description

Get the number of threads used by torch in parallel regions.