TensorFlow-Pointer-Networks
TensorFlow-Pointer-Networks copied to clipboard
why use zero attns
Merge input and previous attentions into one vector of the right size.
x = core_rnn_cell_impl._linear([inp, attns], cell.output_size, True)
which attns = array_ops.zeros(batch_attn_size, dtype=dtype)
why use zeros attns ?