pub fn load_weights(path: &Path) -> Result<HashMap<String, Tensor>, ModelError>
Loads named tensors from a binary weight file.