Subsequently, we apply temporal attention over it; the attention weight is calculated as in .
we use the global method for each t in {h f low t } T t=1 : where h dec m ∈ R D o is the state of the decoder LSTM, c m ∈ R 4D 2 is the context vector, α m ∈ R T is the attention mask, and Next, we obtain the output word probability: where Finally, we select the output word as y m+1 = argmax s∈V (s m ).