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
58775ada
"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "3885da25f79773356f9862bacbf05fde17fc12b4"
Unverified
Commit
58775ada
authored
Nov 23, 2020
by
Zihao Ye
Committed by
GitHub
Nov 23, 2020
Browse files
Remove redundant print information in #2361 (#2362)
parent
3adbfa18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
python/dgl/backend/pytorch/sparse.py
python/dgl/backend/pytorch/sparse.py
+0
-1
No files found.
python/dgl/backend/pytorch/sparse.py
View file @
58775ada
...
@@ -235,7 +235,6 @@ class SegmentReduce(th.autograd.Function):
...
@@ -235,7 +235,6 @@ class SegmentReduce(th.autograd.Function):
@
staticmethod
@
staticmethod
def
forward
(
ctx
,
op
,
x
,
offsets
):
def
forward
(
ctx
,
op
,
x
,
offsets
):
y
,
arg
=
_segment_reduce
(
op
,
x
,
offsets
)
y
,
arg
=
_segment_reduce
(
op
,
x
,
offsets
)
print
(
arg
)
ctx
.
save_for_backward
(
arg
,
offsets
)
ctx
.
save_for_backward
(
arg
,
offsets
)
ctx
.
backward_cache
=
op
ctx
.
backward_cache
=
op
return
y
return
y
...
...
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