Commit e0e4f693 authored by Eugene Brevdo's avatar Eugene Brevdo Committed by TensorFlower Gardener
Browse files

[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
parent f2250bfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment