numpy中矩阵的转置
The transpose of a matrix is obtained by moving the rows data to the column and columns data to the rows.
通过将行数据移动到列,将列数据移动到行,可以获得矩阵的转置。
If we have an array of shape (X, Y) then the transpose of the array will have the shape (Y, X).
如果我们有一个形状为(X,Y)的数组,那么该数组的转置将具有形状(Y,X)。