Function tch::get_num_threads[][src]

pub fn get_num_threads() -> i32
Expand description

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