where c t is the context vector, h enc and h dec are the hidden vectors generated by the encoder and decoder respectively, AttentionFunction(. , .) is the attention mechanism as shown in<cite> (Luong et al., 2015)</cite> and [. ; .] is the concatenation of two vectors.