Python: Elegant method for elemt-wise multiplication along shared dimensions of two different-sized arrays?

前端 未结 0 468
误落风尘
误落风尘 2021-01-30 04:48

Assume that I have two arrays, say array A of shape (X,Y) and array B of shape (X,Y,Z). It is my goal to obtain an array C composed of an element-wise multiplication of A and B

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