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-cluster
Commits
acd094e7
"git@developer.sourcefind.cn:OpenDAS/ktransformers.git" did not exist on "76554dd674321c676192053efc1f1d062600e783"
Commit
acd094e7
authored
Jul 26, 2019
by
rusty1s
Browse files
pragma
parent
7f186c26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_cluster/rw.py
torch_cluster/rw.py
+1
-1
No files found.
torch_cluster/rw.py
View file @
acd094e7
...
@@ -46,7 +46,7 @@ def random_walk(row, col, start, walk_length, p=1, q=1, coalesced=False,
...
@@ -46,7 +46,7 @@ def random_walk(row, col, start, walk_length, p=1, q=1, coalesced=False,
start
=
start
.
flatten
()
start
=
start
.
flatten
()
if
row
.
is_cuda
:
if
row
.
is_cuda
:
# pragma: no cover
return
torch_cluster
.
rw_cuda
.
rw
(
row
,
col
,
start
,
walk_length
,
p
,
q
,
return
torch_cluster
.
rw_cuda
.
rw
(
row
,
col
,
start
,
walk_length
,
p
,
q
,
num_nodes
)
num_nodes
)
else
:
else
:
...
...
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