"vscode:/vscode.git/clone" did not exist on "4fd7e97f3385a86a3e5c55a5b26fd71d1c42656b"
Unverified Commit b743f767 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files
parent f94fa9d9
......@@ -103,7 +103,8 @@ class SparseMatrix:
return self.c_sparse_matrix.coo()
def csr(self) -> Tuple[torch.Tensor, ...]:
"""Get the coordinate (COO) representation of the sparse matrix.
r"""Get the compressed sparse row (CSR) representation of the sparse
matrix.
Returns
-------
......@@ -114,7 +115,8 @@ class SparseMatrix:
return self.c_sparse_matrix.csr()
def csc(self) -> Tuple[torch.Tensor, ...]:
"""Get the coordinate (COO) representation of the sparse matrix.
r"""Get the compressed sparse column (CSC) representation of the sparse
matrix.
Returns
-------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment