R-net icon indicating copy to clipboard operation
R-net copied to clipboard

Question about question-passage attention

Open tangchen2 opened this issue 5 years ago • 0 comments

when the network process the attention match rnn, in the first loop, it actually process question - passage attention. In the function 'attention_rnn' when it calls attention, the outputs_ is [ [ batch, max_p_len, attn_size * 2], [batch, max_q_len, attn_size + 2] ] , i wonder how the outputs = sum(outpus_) run ? Their dimensions are not matched.

tangchen2 avatar Apr 18 '19 03:04 tangchen2