Created nn Basics (markdown)

Joel Schlosser
2021-06-29 02:43:48 -04:00
parent 7f83720221
commit 80a721cecf

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)