mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +00:00
Grammarly pass.
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
# Hello world !
|
# Hello world!
|
||||||
|
|
||||||
We will now create the hello world of the ML world, building a model capable of solving MNIST dataset.
|
We will now create the hello world of the ML world, building a model capable of solving MNIST dataset.
|
||||||
|
|
||||||
Open `src/main.rs` and fill in with this content:
|
Open `src/main.rs` and fill in this content:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
# extern crate candle;
|
# extern crate candle;
|
||||||
@ -127,7 +127,7 @@ fn main() -> Result<()> {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Now it works, great and is a great way to create your own layers.
|
Now it works, it is a great way to create your own layers.
|
||||||
But most of the classical layers are already implemented in [candle-nn](https://github.com/LaurentMazare/candle/tree/main/candle-nn).
|
But most of the classical layers are already implemented in [candle-nn](https://github.com/LaurentMazare/candle/tree/main/candle-nn).
|
||||||
|
|
||||||
## Using `candle_nn`.
|
## Using `candle_nn`.
|
||||||
|
@ -21,4 +21,4 @@ cargo build
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
You can also see feature `mkl` which could be interesting to get faster inference on CPU. [Using mkl](./advanced/mkl.md)
|
You can also see the `mkl` feature which could be interesting to get faster inference on CPU. [Using mkl](./advanced/mkl.md)
|
||||||
|
Reference in New Issue
Block a user