[][src]Function tch::get_num_threads

pub fn get_num_threads() -> i32

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