Implementing a RNN

Let's go to the most important part of this chapter. Implementing our recurrent neural network with our bare hands. We show two different implementations, the first one using R6 classes, which we find could be more useful for using in your projects, since it is more portable. The second implementation we show closely follows sample code used in Andrej Karpathy's blog post for a minimal character-level recurrent neural network cited previously.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset