Here is what I would like to accomplish in Tensorflow.
I have 2x2 matrix (trainable)
x_1 x_2
x_3 x_4
and I have input vector
a
b
I would like to multiply each column of matrix by element of vector and get back the following matrix
ax_1 bx_2
ax_3 bx_4
I can get this result by declaring each column of matrix as separate variable, but I wonder if there is more elegant solution.