Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-sparse
Commits
7c55386b
Commit
7c55386b
authored
Jun 22, 2019
by
rusty1s
Browse files
typo
parent
496203d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+1
-1
torch_sparse/transpose.py
torch_sparse/transpose.py
+1
-1
No files found.
README.md
View file @
7c55386b
...
@@ -112,7 +112,7 @@ Transposes dimensions 0 and 1 of a sparse matrix.
...
@@ -112,7 +112,7 @@ Transposes dimensions 0 and 1 of a sparse matrix.
*
**value**
*(Tensor)*
- The value tensor of sparse matrix.
*
**value**
*(Tensor)*
- The value tensor of sparse matrix.
*
**m**
*(int)*
- The first dimension of corresponding dense matrix.
*
**m**
*(int)*
- The first dimension of corresponding dense matrix.
*
**n**
*(int)*
- The second dimension of corresponding dense matrix.
*
**n**
*(int)*
- The second dimension of corresponding dense matrix.
*
**coalesced**
*(bool, optional)*
- If set to
`False`
, will not coalesce the output (default:
`True`
)
*
**coalesced**
*(bool, optional)*
- If set to
`False`
, will not coalesce the output
.
(default:
`True`
)
### Returns
### Returns
...
...
torch_sparse/transpose.py
View file @
7c55386b
...
@@ -11,7 +11,7 @@ def transpose(index, value, m, n, coalesced=True):
...
@@ -11,7 +11,7 @@ def transpose(index, value, m, n, coalesced=True):
m (int): The first dimension of corresponding dense matrix.
m (int): The first dimension of corresponding dense matrix.
n (int): The second dimension of corresponding dense matrix.
n (int): The second dimension of corresponding dense matrix.
coalesced (bool, optional): If set to :obj:`False`, will not coalesce
coalesced (bool, optional): If set to :obj:`False`, will not coalesce
the output (default: :obj:`True`)
the output
.
(default: :obj:`True`)
:rtype: (:class:`LongTensor`, :class:`Tensor`)
:rtype: (:class:`LongTensor`, :class:`Tensor`)
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment