Since each word in a sentence is a symbol that can not be directly processed by neural networks, we need first map each word to a d dimensional embedding vector.
the two sentences are mapped to two matrix E x ∈ R de×m and E y ∈ R de×n respectively.