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
ee08da1f
Commit
ee08da1f
authored
Nov 24, 2020
by
rusty1s
Browse files
fix
parent
288cfd44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/cpu/relabel_cpu.cpp
csrc/cpu/relabel_cpu.cpp
+1
-1
No files found.
csrc/cpu/relabel_cpu.cpp
View file @
ee08da1f
...
@@ -131,7 +131,7 @@ relabel_one_hop_cpu(torch::Tensor rowptr, torch::Tensor col,
...
@@ -131,7 +131,7 @@ relabel_one_hop_cpu(torch::Tensor rowptr, torch::Tensor col,
}
}
}
}
if
(
bipartite
)
if
(
!
bipartite
)
out_rowptr
=
torch
::
cat
(
out_rowptr
=
torch
::
cat
(
{
out_rowptr
,
torch
::
full
({(
int64_t
)
n_ids
.
size
()},
out_col
.
numel
(),
{
out_rowptr
,
torch
::
full
({(
int64_t
)
n_ids
.
size
()},
out_col
.
numel
(),
rowptr
.
options
())});
rowptr
.
options
())});
...
...
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