Closed vineetjohn closed 6 years ago
https://www.tensorflow.org/api_docs/python/tf/sequence_mask
To be used in conjunction with https://www.tensorflow.org/api_docs/python/tf/boolean_mask
https://danijar.com/variable-sequence-lengths-in-tensorflow/ EDIT: This tutorial precedes decoder implementations in Tensorflow
Cannot be done because tensors cannot have variable lengths
Add a masking layers of 0s and 1s to the RNN encoder.