转置: transpose() permute()
reshape: view() reshape()
拓展: repeat() expand() expand_as()
矩阵相乘: bmm() matmul()
本文详细介绍了张量操作中常见的几种方法,包括转置、重塑、拓展及矩阵相乘等。这些操作对于理解并进行深度学习任务至关重要。
转置: transpose() permute()
reshape: view() reshape()
拓展: repeat() expand() expand_as()
矩阵相乘: bmm() matmul()
2330

被折叠的 条评论
为什么被折叠?