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-scatter
Commits
8dc17e4d
Commit
8dc17e4d
authored
Aug 06, 2018
by
rusty1s
Browse files
prints
parent
1545db53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
torch_scatter/mul.py
torch_scatter/mul.py
+2
-0
No files found.
torch_scatter/mul.py
View file @
8dc17e4d
...
@@ -9,7 +9,9 @@ class ScatterMul(Function):
...
@@ -9,7 +9,9 @@ class ScatterMul(Function):
def
forward
(
ctx
,
out
,
src
,
index
,
dim
):
def
forward
(
ctx
,
out
,
src
,
index
,
dim
):
print
(
"DRIN"
)
print
(
"DRIN"
)
func
=
get_func
(
'scatter_mul'
,
src
)
func
=
get_func
(
'scatter_mul'
,
src
)
print
(
func
)
func
(
src
,
index
,
out
,
dim
)
func
(
src
,
index
,
out
,
dim
)
print
(
out
)
ctx
.
mark_dirty
(
out
)
ctx
.
mark_dirty
(
out
)
ctx
.
save_for_backward
(
out
,
src
,
index
)
ctx
.
save_for_backward
(
out
,
src
,
index
)
...
...
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