How to use return_sequences option and TimeDistributed layer in Keras?
The LSTM layer and the TimeDistributed wrapper are two different ways to get the “many to many” relationship that you want. LSTM will eat the words of your sentence one by one, you can chose via “return_sequence” to outuput something (the state) at each step (after each word processed) or only output something after the … Read more