Skip to main content

load_weights

Function load_weights 

Source
pub fn load_weights(path: &Path) -> Result<HashMap<String, Tensor>, ModelError>
Expand description

Loads named tensors from a binary weight file.