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
ac04c1b6
Commit
ac04c1b6
authored
Aug 01, 2018
by
rusty1s
Browse files
typo
parent
4d4fa230
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
ac04c1b6
...
...
@@ -67,10 +67,10 @@ This method may become obsolete in future PyTorch releases (>= 0.4.1) as reporte
## Autograd Sparse Tensor Value Extraction
```
torch_sparse.to_value(SparseTensor)
-
-> Tensor
torch_sparse.to_value(
torch.
SparseTensor) ->
torch.
Tensor
```
Wrapper method to support autograd on values of
s
parse
t
ensor
s
.
Wrapper method to support autograd on values of
[
`torch.S
parse
T
ensor
`
](
https://pytorch.org/docs/stable/sparse.html
)
.
```
python
from
torch_sparse
import
to_value
...
...
@@ -87,7 +87,7 @@ This method may become obsolete in future PyTorch releases (>= 0.4.1) as reporte
## Sparse Sparse Matrix Multiplication
```
torch_sparse.spspmm(SparseTensor, SparseTensor)
-
-> SparseTensor
torch_sparse.spspmm(
torch.
SparseTensor,
torch.
SparseTensor) ->
torch.
SparseTensor
```
Sparse matrix product of two sparse tensors with autograd support.
...
...
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