tensorflow-seq2seq-tutorials icon indicating copy to clipboard operation
tensorflow-seq2seq-tutorials copied to clipboard

How to connect multilayered encoder to decoder?

Open sainimohit23 opened this issue 7 years ago • 0 comments

I want to use an encoder cell which looks like this :

tf.contrib.rnn.MultiRNNCell([tf.contrib.rnn.DropoutWrapper(tf.contrib.rnn.LSTMCell(rnn_size), keep_prob) for _ in range(num_layers)])

When I use multilayered encoder (say num_layers=2). This is what I get:

AttributeError: 'tuple' object has no attribute 'c'

Please help. I want to understand what dynamic decoder is returning case of multilayered encoder? I also tried to read the source code on tensorflow repo. But, those are far too difficult for me to understand.

sainimohit23 avatar Feb 08 '19 10:02 sainimohit23