Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PyTorch Deep Learning Hands-On

You're reading from   PyTorch Deep Learning Hands-On Build CNNs, RNNs, GANs, reinforcement learning, and more, quickly and easily

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher Packt
ISBN-13 9781788834131
Length 250 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Sherin Thomas Sherin Thomas
Author Profile Icon Sherin Thomas
Sherin Thomas
Sudhanshu Passi Sudhanshu Passi
Author Profile Icon Sudhanshu Passi
Sudhanshu Passi
Arrow right icon
View More author details
Toc

Introduction to recurrent neural networks

Recurrent neural networks (RNNs) are the de facto implementation for sequential data processing. As the name indicates, RNNs recur through the data holding the information from the previous run and try to find the meaning of the sequence, just like how humans do.

Although the vanilla RNN, the unrolling of a simple RNN cell for each unit in the input, was a revolutionary idea, it failed to provide production-ready results. The major hindrance was the long-term dependency problem. When the length of the input sequence is increased, the network won't be able to remember information from the initial units (words if it is natural language) when it reaches the last cells. We'll see what an RNN cell contains and how it can be unrolled in the upcoming sections.

Several iterations and years of research yielded a few different approaches to RNN architectural design. The state-of-the-art models now use long short-term memory (LSTM...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime