热线电话:13121318867

登录
2019-04-17 阅读量: 1178
5x3矩阵乘以3x2矩阵

A = np.ones((5,3))

B = np.ones((3,2))

print np.dot(A,B) #or A.dot(B)

[[ 3. 3.]

[ 3. 3.]

[ 3. 3.]

[ 3. 3.]

[ 3. 3.]]

66.6667
0
关注作者
收藏
评论(0)

发表评论

暂无数据