October 2018
Intermediate to advanced
252 pages
6h 49m
English
In this recipe, we will learn, with a simple example, how an LSTM network remembers the value in a step from the distant past. We will input two sequences and the LSTM will remember which character to output based on the first sequence input, as follows:
seq1 = ['A', 'B', 'C', 'D', 'A']seq2 = ['Z', 'B', 'C', 'D', 'Z']