contrib.legacy_seq2seq.attention_decoder

tf.contrib.legacy_seq2seq.attention_decoder

tf.contrib.legacy_seq2seq.attention_decoder

attention_decoder(
    decoder_inputs,
    initial_state,
    attention_states,
    cell,
    output_size=None,
    num_heads=1,
    loop_function=None,
    dtype=None,
    scope=None,
    initial_state_attention=False
)

Defined in tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py.

RNN decoder with attention for the sequence-t