This model uses a particular RNN cell in order to store just relevant information about the given question.  Dynamic Memory stores information of entities present in $T$ . The addition of the $s_t^T q$ term in the gating function is our main contribution.  
 Question: How does the model recognize entities and their relation to answers at inference time when answers are not accessible?
gating function Dynamic Memory