- 博客(2)
- 收藏
- 关注
原创 向量运算
三维·二维import numpy as npa=np.array([ [[1,1,1],[1,1,1]], [[1,1,1],[1,1,1]]])print(a.shape)b=np.array([[1,1,1,1], [1,1,1,1], [1,1,1,1]])print(b.shape)c=np.dot(a,b)print(c)print(c.shape)运行结果:(2, 2, 3)(3, 4)[[[3 3 3
2021-03-26 09:42:43 46
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人