TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tfa.seq2seq.BeamSearchDecoderState

View source on GitHub

Class BeamSearchDecoderState

BeamSearchDecoderState(cell_state, log_probs, finished, lengths, accumulated_attention_probs)

Aliases:

__new__

__new__(
    _cls,
    cell_state,
    log_probs,
    finished,
    lengths,
    accumulated_attention_probs
)

Create new instance of BeamSearchDecoderState(cell_state, log_probs, finished, lengths, accumulated_attention_probs)

Properties

cell_state

log_probs

finished

lengths

accumulated_attention_probs