TensorFlow-Pointer-Networks icon indicating copy to clipboard operation
TensorFlow-Pointer-Networks copied to clipboard

why use zero attns

Open fword opened this issue 6 years ago • 0 comments

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 ?

fword avatar Mar 09 '18 09:03 fword