Closed huikang closed 3 years ago
Thank you, I have fixed the ordering in the class definition, to keep it in line with the ordering in the Decoder class definition.
Change applied via PR (https://github.com/PacktPublishing/Deep-Learning-with-TensorFlow-2-and-Keras/pull/6), awaiting merge.
https://github.com/PacktPublishing/Deep-Learning-with-TensorFlow-2-and-Keras/blob/b2639479d3e487005ba9098ed8eb37a1242226e8/Chapter%208/seq2seq_wo_attn.py#L47
The definition is
However, the encoder is create by
https://github.com/PacktPublishing/Deep-Learning-with-TensorFlow-2-and-Keras/blob/b2639479d3e487005ba9098ed8eb37a1242226e8/Chapter%208/seq2seq_wo_attn.py#L217
I think the correct order should be