Function tch::get_num_threads[][src]

pub fn get_num_threads() -> i32

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