PyTorch Tutorial - RNN & LSTM & GRU - Recurrent Neural Nets
Implement a Recurrent Neural Net (RNN) in PyTorch! Learn how we can use the nn.RNN module and work with an input sequence. I also show you how easily we can switch to a gated recurrent unit (GRU) or long short-term memory (LSTM) RNN.
Code on GitHub: https://github.com/python-engineer/pytorch-examples.
- RNN: https://pytorch.org/docs/stable/generated/torch.nn.RNN.html
- LSTM: https://pytorch.org/docs/stable/generated/torch.nn.LSTM.html
- GRU: https://pytorch.org/docs/stable/generated/torch.nn.GRU.html
Join My Newsletter! Get Python and ML tips emailed directly to your inbox. Each month you’ll get a summary of all the content I created, including the newest videos, articles, promotions, tips, and more.
Implement popular Machine Learning algorithms from scratch using only built-in Python modules and numpy.
Advanced Python Tutorials. It covers topics like collections, decorators, generators, multithreading, logging, and much more.
Learn all the necessary basics to get started with this deep learning framework.