mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Created nn Basics (markdown)
6
nn-Basics.md
Normal file
6
nn-Basics.md
Normal file
@ -0,0 +1,6 @@
|
||||
## What is nn?
|
||||
The `torch.nn` library is the component of PyTorch that provides building blocks for neural networks. Its core abstraction is `nn.Module`, which encapsulates stateful computation with learnable parameters. Modules integrate with the [[autograd|Autograd-Basics]] system and are generally trained using optimizers provided in [`torch.optim`](https://pytorch.org/docs/stable/optim.html).
|
||||
|
||||
## Learn about torch.nn and Modules
|
||||
* [Introduction to Modules](https://pytorch.org/docs/stable/notes/modules.html)
|
||||
* [Neural networks tutorial](https://pytorch.org/tutorials/beginner/blitz/neural_networks_tutorial.html)
|
Reference in New Issue
Block a user