title: ValueError: matrices are not aligned, with correct shape of matrices
body: <p>I'm trying to make a simple dot product operation with numpy. I am aware of the fact that dimensions should be aligned, and in my case, they seem aligned to me. I can't what is the problem here: </p>
  
  <p>x.shape:  (784, 1)  y.shape:  (10, 784)</p>
  
  <pre><code>z = np.dot(x.T,y.T)
  </code></pre>
  
  <p>Could you please share your opinions with me? </p>