org.platanios.tensorflow.api.ops.seq2seq.decoders.BeamSearchDecoder
Tensor of shape [batchSize, T, beamWidth]
(or [T, batchSize, beamWidth]
,
if outputTimeMajor == true
) containing the final prediction IDs. The search states are
ordered from best to worst.
State of the beam search at the end of decoding.
State of the beam search at the end of decoding.
Tensor of shape [batchSize, T, beamWidth]
(or [T, batchSize, beamWidth]
,
if outputTimeMajor == true
) containing the final prediction IDs.
Tensor of shape [batchSize, T, beamWidth]
(or [T, batchSize, beamWidth]
,
if outputTimeMajor == true
) containing the final prediction IDs. The search states are
ordered from best to worst.
Final outputs returned by the beam search after all decoding is finished.
Tensor of shape
[batchSize, T, beamWidth]
(or[T, batchSize, beamWidth]
, ifoutputTimeMajor == true
) containing the final prediction IDs. The search states are ordered from best to worst.State of the beam search at the end of decoding.