Skip to main content

set_active

Function set_active 

Source
pub fn set_active(root: &Path, variant: &str) -> Result<(), String>
Expand description

Set the active libtorch variant by writing <root>/libtorch/.active.