Make sure your inputs are matrices rather than vectors. One way to do it is: np.matrix(a) * np.matrix(b). But you don't actually have to.
確定! 回上一頁