The LSTM Reber grammar example
Reber grammar is a simple string generator that will be used to showcase the LSTM. In this case it will be the more complex embedded version of Reber grammar with long term dependencies. The above is the string generator. In the examples above the make_reber_set is dispatched to generate random 3000 unique strings and then…