This is just standard matrix multiplication, in your case you have a 3x3 matrix that multiples with a 3x1 vector (both are represented as Tensors). When multiplying a 3x3 matrix with a 3x1 vector you get a 3x1 vector as the output.
The output of each element will be defined by a dot product of a row of your matrix and your vector. So, the first element of out_2 is the dot product of the 1st row of the matrix with your vector, the second element will be the dot product of the 2nd row and your vector and so on. This is just the definition of matrix multiplication, you can read more about it on Wikipedia here