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
a1ae9033
Commit
a1ae9033
authored
Mar 11, 2020
by
rusty1s
Browse files
typo
parent
4c8a4155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torch_sparse/masked_select.py
torch_sparse/masked_select.py
+2
-2
No files found.
torch_sparse/masked_select.py
View file @
a1ae9033
...
...
@@ -91,6 +91,6 @@ def masked_select_nnz(src: SparseTensor, mask: torch.Tensor,
SparseTensor
.
masked_select
=
lambda
self
,
dim
,
mask
:
masked_select
(
self
,
dim
,
mask
)
tmp
=
lambda
s
rc
,
mask
,
layout
=
None
:
masked_select_nnz
(
# noqa
s
rc
,
mask
,
layout
)
tmp
=
lambda
s
elf
,
mask
,
layout
=
None
:
masked_select_nnz
(
# noqa
s
elf
,
mask
,
layout
)
SparseTensor
.
masked_select_nnz
=
tmp
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