In seq2seq_model.py file,
I use bi-directional GRU for encoder but I got an error.
More specifically,in line 391, i got an error as follows
"TypeError: Tensor objects are not iterable when eager execution is not enabled. To iterate over this tensor use tf.map_fn."
I use tensorflow 1.7 How can I solve this problem?
In addition, why do have to initialize last decoder cell to zero state not encoder last state as preceding layer?
Thanks in advance
In seq2seq_model.py file,
I use bi-directional GRU for encoder but I got an error.
More specifically,in line 391, i got an error as follows
"TypeError: Tensor objects are not iterable when eager execution is not enabled. To iterate over this tensor use tf.map_fn."
I use tensorflow 1.7 How can I solve this problem?
In addition, why do have to initialize last decoder cell to zero state not encoder last state as preceding layer?
Thanks in advance