forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2D Strided to/from CSC, COO to CSC, CSC to CSC conversion. (pytorch#7…
…7521) Adds - to_sparse_csc for strided input - to_sparse_csc for COO input - CSC to strided - CSC to CSR - CSC to CSC Uses SciPy as a reference Follow up work is changing transpose to return CSC when passed CSR and the resulting ripples through our matmul operations. Pull Request resolved: pytorch#77521 Approved by: https://github.com/pearu, https://github.com/anjali411
- Loading branch information
1 parent
687ab97
commit e10a002
Showing
4 changed files
with
257 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.