Then we compute matching score g(U i , r i ) based on the matching features.
we use the final state of GRU output h L as features and apply a single-layer perceptron to obtain score: where W and b are learnt parameters, σ(•) is sigmoid activation function.