Fixes an issue with calling tf.contrib.seq2seq.dynamic_decode with an extended BasicD...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 26 Mar 2018 18:05:37 +0000 (11:05 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 26 Mar 2018 18:08:11 +0000 (11:08 -0700)
commit005b8aa42c273a0152642279d0c57aa9e08ccbe0
tree3231b4bfed877b52beeb91c8d66d74fc270fa8f1
parent9d8779eebdf0e813748fa1b81b975f443f84f73a
Fixes an issue with calling tf.contrib.seq2seq.dynamic_decode with an extended BasicDecoder which for example returns a tf.contrib.seq2seq.AttentionWrapperState.
In this case the internal while-loop fails when trying to store an instance tf.contrib.seq2seq.AttentionWrapperState in the internal TensorArray.

PiperOrigin-RevId: 190491787
tensorflow/contrib/seq2seq/python/ops/decoder.py
tensorflow/python/ops/rnn.py