[tf.contrib.seq2seq] Reserve -1s in GatherTree for error states.
GatherTree now emits end_token after the first decoded end_token in the path, instead of -1s at the end of each sequence. PiperOrigin-RevId: 172816652
Loading
Please sign in to comment