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
dgl
Commits
d2e1cfce
Unverified
Commit
d2e1cfce
authored
May 27, 2020
by
Quan (Andy) Gan
Committed by
GitHub
May 27, 2020
Browse files
[Bug] Fix PinSAGE crashes on hypersparse graphs (#1565)
parent
901e0c24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/array/array.cc
src/array/array.cc
+2
-2
No files found.
src/array/array.cc
View file @
d2e1cfce
...
@@ -613,8 +613,8 @@ COOMatrix COORowWiseTopk(
...
@@ -613,8 +613,8 @@ COOMatrix COORowWiseTopk(
COOMatrix
mat
,
IdArray
rows
,
int64_t
k
,
FloatArray
weight
,
bool
ascending
)
{
COOMatrix
mat
,
IdArray
rows
,
int64_t
k
,
FloatArray
weight
,
bool
ascending
)
{
COOMatrix
ret
;
COOMatrix
ret
;
ATEN_COO_SWITCH
(
mat
,
XPU
,
IdType
,
{
ATEN_COO_SWITCH
(
mat
,
XPU
,
IdType
,
{
ATEN_
FLOAT_
TYPE_SWITCH
(
weight
->
dtype
,
Float
Type
,
"weight"
,
{
ATEN_
D
TYPE_SWITCH
(
weight
->
dtype
,
D
Type
,
"weight"
,
{
ret
=
impl
::
COORowWiseTopk
<
XPU
,
IdType
,
Float
Type
>
(
ret
=
impl
::
COORowWiseTopk
<
XPU
,
IdType
,
D
Type
>
(
mat
,
rows
,
k
,
weight
,
ascending
);
mat
,
rows
,
k
,
weight
,
ascending
);
});
});
});
});
...
...
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