cupyx.scipy.sparse.matrix_transpose#
- cupyx.scipy.sparse.matrix_transpose(A)[source]#
Transpose the last two axes of a sparse object.
- Parameters:
A (cupyx.scipy.sparse) – Sparse object (CuPy currently supports 2-D only).
- Returns:
Awith its last two axes swapped (same array vs matrix type as the input).- Return type:
cupyx.scipy.sparse
See also