How to get inner product of 3D array to 2D array?

后端 未结 0 1489
[愿得一人]
[愿得一人] 2021-02-11 18:50

I have two Numpy array

b=np.array([[1, 2, 3], [4, 5, 6]])
a=np.array([[[1, 2,1], [3, 4,1],[4,5,6],[6,7,8]], [[5, 6,1], [7, 8,1],[4,5,6],[6,7,8]]])

a.shape,b.shap         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题