pub fn set_active(root: &Path, variant: &str) -> Result<(), String>
Set the active libtorch variant by writing <root>/libtorch/.active.
<root>/libtorch/.active