Matrix-based A more intuitive way of representing attributes is through the weight matrix W .
given the attribute embeddings u and p, we linearly transform their concatenation into a vector w of size D 1 * D 2 where D 1 and D 2 are the dimensions of W .