Einstein summation of a matrix in a tensor and another tensor in Julia

后端 未结 0 1353
小蘑菇
小蘑菇 2020-12-30 12:10

W is a 5×5 matrix and the items are 2×2 matrices, for example:

S0=reshape([2,2,4,4], (2, 2))
W=reshape(Any[S0 for i in 1:25],(5,5))
相关标签:
回答
  • 消灭零回复
提交回复
热议问题