Open yogeshg opened 7 years ago
I believe that with the latest versions of TF you can now directly call the cell in order to process the rnn. The only difference will be that you'll need an initial state _encorderstate for it to work. Try something like this:
_, encoder_state = encoder_cell(encoder_inputs, encoder_state)
rnn.rnn is used in https://github.com/Sephora-M/chord2vec/blob/master/chord2vec/seq2seq/seq2seqs_model.py#L441
but according to https://github.com/tensorflow/tensorflow/issues/8836 I should either use dynamic_rnn, that matches the signature of the function or raw_rnn which doesn't. I tried using dynamic_rnn and ran into the following error:
could you guide me what's the intended use for the rnn?