张量系列(tensor02)


张量的两种运算

1. 张量的乘(Tensor product)




tensorproduct()




2. 张量的缩并

tensorcontraction()


The matrix trace is equivalent to the contraction of a rank-2 array


Matrix product is equivalent to a tensor product of two rank-2 arrays, followed by a contraction of the 2nd and 3rd axes (in Python indexing axes number 1, 2).


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM