I am working on keras seq2seq example here:https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in-keras.html What I have understood from the text is in decoder model each cell's output is input to the next cell. However I didnt understand implementing this recursion to the model.In the link it makes the decoder model as follows.
decoder_model = Model(
[decoder_inputs] + decoder_states_inputs,
[decoder_outputs] + decoder_states)
How does this syntax work to tell the model that each cells output is input to next cell? In general how does this syntax work?
EDIT: When you check keras.Model documentation you will realize that a model can take a list of keras.Input objects as input argument, notice that [decoder_inputs] + decoder_states_inputs is a list.