mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
Typo.
This commit is contained in:
@ -127,7 +127,7 @@ fn main() -> Result<()> {
|
|||||||
Now it works, great and is a great way to create your own layers.
|
Now it works, great and 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 a `candle_nn`.
|
## Using `candle_nn`.
|
||||||
|
|
||||||
For instance [Linear](https://github.com/LaurentMazare/candle/blob/main/candle-nn/src/linear.rs) is already there.
|
For instance [Linear](https://github.com/LaurentMazare/candle/blob/main/candle-nn/src/linear.rs) is already there.
|
||||||
This Linear is coded with PyTorch layout in mind, to reuse better existing models out there, so it uses the transpose of the weights and not the weights directly.
|
This Linear is coded with PyTorch layout in mind, to reuse better existing models out there, so it uses the transpose of the weights and not the weights directly.
|
||||||
|
Reference in New Issue
Block a user