Advertisement
Guest User

Untitled

a guest
Mar 7th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. >>> x = np.zeros((5, ))
  2. >>> y = np.ones((10, ))
  3. >>> z = x.dot(y.T)
  4. Traceback (most recent call last):
  5.   File "<stdin>", line 1, in <module>
  6. ValueError: shapes (5,) and (10,) not aligned: 5 (dim 0) != 10 (dim 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement