In order to mine semantic matching information between question and answer, we employ S to compute attentions in both directions, which could be seen as a Question-to-Answer attention and an Answer-to-Question attention.
we first employ the row/column-wise softmax operation to get two normalized matrices S r and S c .