TrainingHelper delivers basic truth at every turn. If you want to use the outputs of the decoder, you can use the scheduled sampling [1]. Scheduled fetching is implemented in ScheduledEmbeddingTrainingHelper and ScheduledOutputTrainingHelper , so you can use one of two (depending on your specific application) instead of TrainingHelper . See also this topic: planned sampling in Tensorflow .
[1] https://arxiv.org/pdf/1506.03099.pdf
source share