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
8e01fb7c
Commit
8e01fb7c
authored
Feb 20, 2020
by
rusty1s
Browse files
typo
parent
04da17c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/test_metis.py
test/test_metis.py
+1
-1
No files found.
test/test_metis.py
View file @
8e01fb7c
...
...
@@ -10,4 +10,4 @@ def test_metis(device):
mat
=
SparseTensor
.
from_dense
(
torch
.
randn
((
6
,
6
),
device
=
device
))
mat
,
partptr
,
perm
=
mat
.
partition_kway
(
num_parts
=
2
)
assert
partptr
.
numel
()
==
3
assert
perm
.
nume
()
==
6
assert
perm
.
nume
l
()
==
6
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