seq2seq
seq2seq copied to clipboard
how to add multiple encoder in the model?
I suppose your sequential model has one-layer encoder and possible multi-layer decoder. however, in most cases encoder has also many layers. To me, for _ in range(num_layers): model.add(LSTM(hidden_size, return_sequences=True)) may work, not test yet. moreover, could bidirectional encoder can be implemented in Keras?