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-spline-conv
Commits
1f915586
Commit
1f915586
authored
Mar 16, 2018
by
rusty1s
Browse files
typo
parent
65abb5e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
torch_spline_conv/functions/ffi.py
torch_spline_conv/functions/ffi.py
+3
-0
No files found.
torch_spline_conv/functions/ffi.py
View file @
1f915586
...
...
@@ -45,9 +45,12 @@ def spline_weighting_backward_input(grad_output, weight, basis,
weight_index
):
# pragma: no cover
grad_input
=
grad_output
.
new
(
grad_output
.
size
(
0
),
weight
.
size
(
1
))
func
=
get_func
(
'weighting_backward_input'
,
grad_output
)
# Transpose for coalesced memory access.
weight
=
weight
.
transpose
(
1
,
2
).
contiguous
()
func
(
grad_input
,
grad_output
,
weight
,
basis
,
weight_index
)
weight
=
weight
.
transpose
(
1
,
2
).
contiguous
()
return
grad_input
...
...
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