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
eb4b8247
Commit
eb4b8247
authored
Jul 26, 2019
by
rusty1s
Browse files
typo
parent
31c6292a
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/spspmm.py
torch_sparse/spspmm.py
+1
-1
No files found.
README.md
View file @
eb4b8247
...
...
@@ -191,7 +191,7 @@ torch_sparse.spspmm(indexA, valueA, indexB, valueB, m, k, n) -> (torch.LongTenso
```
Matrix product of two sparse tensors.
Both input sparse matrices need to be
**coalesced**
(use the
`coalesce`
attribute to force).
Both input sparse matrices need to be
**coalesced**
(use the
`coalesce
d
`
attribute to force).
### Parameters
...
...
torch_sparse/spspmm.py
View file @
eb4b8247
...
...
@@ -9,7 +9,7 @@ if torch.cuda.is_available():
def
spspmm
(
indexA
,
valueA
,
indexB
,
valueB
,
m
,
k
,
n
,
coalesced
=
False
):
"""Matrix product of two sparse tensors. Both input sparse matrices need to
be coalesced (use the :obj:`coalesce` attribute to force).
be coalesced (use the :obj:`coalesce
d
` attribute to force).
Args:
indexA (:class:`LongTensor`): The index tensor of first sparse matrix.
...
...
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