Changed save to return Result

This commit is contained in:
Andrew Kane
2021-10-16 17:48:17 -07:00
parent 26160cfb9a
commit 616067367f
3 changed files with 18 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ model.bias();
Save the model to a file
```rust
model.save("model.txt");
model.save("model.txt").unwrap();
```
Load the model from a file