Skip to main content

read_active

Function read_active 

Source
pub fn read_active(root: &Path) -> Option<LibtorchInfo>
Expand description

Read the active libtorch variant from <root>/libtorch/.active and parse its .arch metadata.