Numpy element-wise dot product

前端 未结 2 925
-上瘾入骨i
-上瘾入骨i 2020-11-30 08:30

is there an elegant, numpy way to apply the dot product elementwise? Or how can the below code be translated into a nicer version?

m0 # shape (5, 3, 2, 2)
m1         


        
2条回答
提交回复
热议问题